VoucherMain.java 11.7 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 9

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
27
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.PERIOD
28 29 30 31 32 33 34 35
     *
     * @mbg.generated
     */
    private Integer period;

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
63
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.ACCT_CODE_COUNT
64 65 66 67 68 69 70 71
     *
     * @mbg.generated
     */
    private Integer acctCodeCount;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
72
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.AMOUNT
73 74 75 76 77 78 79 80
     *
     * @mbg.generated
     */
    private BigDecimal amount;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
81
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.AMOUNT_CREDIT
82 83 84 85 86 87 88 89
     *
     * @mbg.generated
     */
    private BigDecimal amountCredit;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
90
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.CREATE_TIME
91 92 93 94 95 96 97 98
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
99
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.UPDATE_TIME
100 101 102 103 104 105 106 107
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
108
     * This field corresponds to the database column TAX_PROJECT.VOUCHER_MAIN.CREATOR_ID
109 110 111
     *
     * @mbg.generated
     */
neo's avatar
neo committed
112
    private String creatorId;
113 114 115

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
116
     * This field corresponds to the database table TAX_PROJECT.VOUCHER_MAIN
117 118 119 120 121 122 123
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
124
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.VOUCHER_MAIN_ID
125
     *
neo's avatar
neo committed
126
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.VOUCHER_MAIN_ID
127 128 129
     *
     * @mbg.generated
     */
neo's avatar
neo committed
130 131
    public String getVoucherMainId() {
        return voucherMainId;
132 133 134 135
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
136
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.VOUCHER_MAIN_ID
137
     *
neo's avatar
neo committed
138
     * @param voucherMainId the value for TAX_PROJECT.VOUCHER_MAIN.VOUCHER_MAIN_ID
139 140 141
     *
     * @mbg.generated
     */
neo's avatar
neo committed
142 143
    public void setVoucherMainId(String voucherMainId) {
        this.voucherMainId = voucherMainId == null ? null : voucherMainId.trim();
144 145 146 147
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
148
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.PERIOD
149
     *
neo's avatar
neo committed
150
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.PERIOD
151 152 153 154 155 156 157 158 159
     *
     * @mbg.generated
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
160
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.PERIOD
161
     *
neo's avatar
neo committed
162
     * @param period the value for TAX_PROJECT.VOUCHER_MAIN.PERIOD
163 164 165 166 167 168 169 170 171
     *
     * @mbg.generated
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
172
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.GROUP
173
     *
neo's avatar
neo committed
174
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.GROUP
175 176 177 178 179 180 181 182 183
     *
     * @mbg.generated
     */
    public String getGroup() {
        return group;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
184
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.GROUP
185
     *
neo's avatar
neo committed
186
     * @param group the value for TAX_PROJECT.VOUCHER_MAIN.GROUP
187 188 189 190 191 192 193 194 195
     *
     * @mbg.generated
     */
    public void setGroup(String group) {
        this.group = group == null ? null : group.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
196
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.VID
197
     *
neo's avatar
neo committed
198
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.VID
199 200 201
     *
     * @mbg.generated
     */
neo's avatar
neo committed
202 203
    public String getVid() {
        return vid;
204 205 206 207
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
208
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.VID
209
     *
neo's avatar
neo committed
210
     * @param vid the value for TAX_PROJECT.VOUCHER_MAIN.VID
211 212 213
     *
     * @mbg.generated
     */
neo's avatar
neo committed
214 215
    public void setVid(String vid) {
        this.vid = vid == null ? null : vid.trim();
216 217 218 219
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
220
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.VOUCHER_COUNT
221
     *
neo's avatar
neo committed
222
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.VOUCHER_COUNT
223 224 225 226 227 228 229 230 231
     *
     * @mbg.generated
     */
    public Integer getVoucherCount() {
        return voucherCount;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
232
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.VOUCHER_COUNT
233
     *
neo's avatar
neo committed
234
     * @param voucherCount the value for TAX_PROJECT.VOUCHER_MAIN.VOUCHER_COUNT
235 236 237 238 239 240 241 242 243
     *
     * @mbg.generated
     */
    public void setVoucherCount(Integer voucherCount) {
        this.voucherCount = voucherCount;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
244
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.ACCT_CODE_COUNT
245
     *
neo's avatar
neo committed
246
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.ACCT_CODE_COUNT
247 248 249 250 251 252 253 254 255
     *
     * @mbg.generated
     */
    public Integer getAcctCodeCount() {
        return acctCodeCount;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
256
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.ACCT_CODE_COUNT
257
     *
neo's avatar
neo committed
258
     * @param acctCodeCount the value for TAX_PROJECT.VOUCHER_MAIN.ACCT_CODE_COUNT
259 260 261 262 263 264 265 266 267
     *
     * @mbg.generated
     */
    public void setAcctCodeCount(Integer acctCodeCount) {
        this.acctCodeCount = acctCodeCount;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
268
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.AMOUNT
269
     *
neo's avatar
neo committed
270
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.AMOUNT
271 272 273 274 275 276 277 278 279
     *
     * @mbg.generated
     */
    public BigDecimal getAmount() {
        return amount;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
280
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.AMOUNT
281
     *
neo's avatar
neo committed
282
     * @param amount the value for TAX_PROJECT.VOUCHER_MAIN.AMOUNT
283 284 285 286 287 288 289 290 291
     *
     * @mbg.generated
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
292
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.AMOUNT_CREDIT
293
     *
neo's avatar
neo committed
294
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.AMOUNT_CREDIT
295 296 297 298 299 300 301 302 303
     *
     * @mbg.generated
     */
    public BigDecimal getAmountCredit() {
        return amountCredit;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
304
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.AMOUNT_CREDIT
305
     *
neo's avatar
neo committed
306
     * @param amountCredit the value for TAX_PROJECT.VOUCHER_MAIN.AMOUNT_CREDIT
307 308 309 310 311 312 313 314 315
     *
     * @mbg.generated
     */
    public void setAmountCredit(BigDecimal amountCredit) {
        this.amountCredit = amountCredit;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
316
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.CREATE_TIME
317
     *
neo's avatar
neo committed
318
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.CREATE_TIME
319 320 321 322 323 324 325 326 327
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
328
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.CREATE_TIME
329
     *
neo's avatar
neo committed
330
     * @param createTime the value for TAX_PROJECT.VOUCHER_MAIN.CREATE_TIME
331 332 333 334 335 336 337 338 339
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
340
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.UPDATE_TIME
341
     *
neo's avatar
neo committed
342
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.UPDATE_TIME
343 344 345 346 347 348 349 350 351
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
352
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.UPDATE_TIME
353
     *
neo's avatar
neo committed
354
     * @param updateTime the value for TAX_PROJECT.VOUCHER_MAIN.UPDATE_TIME
355 356 357 358 359 360 361 362 363
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
364
     * This method returns the value of the database column TAX_PROJECT.VOUCHER_MAIN.CREATOR_ID
365
     *
neo's avatar
neo committed
366
     * @return the value of TAX_PROJECT.VOUCHER_MAIN.CREATOR_ID
367 368 369
     *
     * @mbg.generated
     */
neo's avatar
neo committed
370 371
    public String getCreatorId() {
        return creatorId;
372 373 374 375
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
376
     * This method sets the value of the database column TAX_PROJECT.VOUCHER_MAIN.CREATOR_ID
377
     *
neo's avatar
neo committed
378
     * @param creatorId the value for TAX_PROJECT.VOUCHER_MAIN.CREATOR_ID
379 380 381
     *
     * @mbg.generated
     */
neo's avatar
neo committed
382 383
    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId == null ? null : creatorId.trim();
384 385 386 387
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
388
     * This method corresponds to the database table TAX_PROJECT.VOUCHER_MAIN
389 390 391 392 393 394 395 396 397
     *
     * @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
398
        sb.append(", voucherMainId=").append(voucherMainId);
399 400
        sb.append(", period=").append(period);
        sb.append(", group=").append(group);
neo's avatar
neo committed
401
        sb.append(", vid=").append(vid);
402 403 404 405 406 407
        sb.append(", voucherCount=").append(voucherCount);
        sb.append(", acctCodeCount=").append(acctCodeCount);
        sb.append(", amount=").append(amount);
        sb.append(", amountCredit=").append(amountCredit);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
neo's avatar
neo committed
408
        sb.append(", creatorId=").append(creatorId);
409 410 411 412
        sb.append("]");
        return sb.toString();
    }
}