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

import java.io.Serializable;

/**
 *
 * This class was generated by MyBatis Generator.
gary's avatar
gary committed
8
 * This class corresponds to the database table customer
eddie.woo's avatar
eddie.woo committed
9 10 11
 *
 * @mbg.generated do_not_delete_during_merge
 */
gary's avatar
gary committed
12
public class Customer extends BaseEntity implements Serializable {
eddie.woo's avatar
eddie.woo committed
13 14 15
    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
16
     * This field corresponds to the database column customer.id
eddie.woo's avatar
eddie.woo committed
17 18 19
     *
     * @mbg.generated
     */
20
    private String id;
eddie.woo's avatar
eddie.woo committed
21 22 23 24

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
25
     * This field corresponds to the database column customer.code
eddie.woo's avatar
eddie.woo committed
26 27 28
     *
     * @mbg.generated
     */
29
    private String code;
eddie.woo's avatar
eddie.woo committed
30 31 32 33

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
34
     * This field corresponds to the database column customer.name
eddie.woo's avatar
eddie.woo committed
35 36 37
     *
     * @mbg.generated
     */
38 39 40 41 42
    private String name;

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

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
51
     * This field corresponds to the database table customer
eddie.woo's avatar
eddie.woo committed
52 53 54 55 56 57 58
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
59
     * This method returns the value of the database column customer.id
eddie.woo's avatar
eddie.woo committed
60
     *
gary's avatar
gary committed
61
     * @return the value of customer.id
eddie.woo's avatar
eddie.woo committed
62 63 64
     *
     * @mbg.generated
     */
65
    public String getId() {
neo's avatar
neo committed
66
        return id;
eddie.woo's avatar
eddie.woo committed
67 68 69 70
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
71
     * This method sets the value of the database column customer.id
72
     *
gary's avatar
gary committed
73
     * @param id the value for customer.id
74 75 76 77 78 79 80 81 82
     *
     * @mbg.generated
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
83
     * This method returns the value of the database column customer.code
84
     *
gary's avatar
gary committed
85
     * @return the value of customer.code
86 87 88 89 90 91 92 93 94
     *
     * @mbg.generated
     */
    public String getCode() {
        return code;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
95
     * This method sets the value of the database column customer.code
eddie.woo's avatar
eddie.woo committed
96
     *
gary's avatar
gary committed
97
     * @param code the value for customer.code
eddie.woo's avatar
eddie.woo committed
98 99 100
     *
     * @mbg.generated
     */
101 102
    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
eddie.woo's avatar
eddie.woo committed
103 104 105 106
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
107
     * This method returns the value of the database column customer.name
eddie.woo's avatar
eddie.woo committed
108
     *
gary's avatar
gary committed
109
     * @return the value of customer.name
eddie.woo's avatar
eddie.woo committed
110 111 112
     *
     * @mbg.generated
     */
113 114
    public String getName() {
        return name;
eddie.woo's avatar
eddie.woo committed
115 116 117 118
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
119
     * This method sets the value of the database column customer.name
eddie.woo's avatar
eddie.woo committed
120
     *
gary's avatar
gary committed
121
     * @param name the value for customer.name
eddie.woo's avatar
eddie.woo committed
122 123 124
     *
     * @mbg.generated
     */
125 126
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
eddie.woo's avatar
eddie.woo committed
127 128 129 130
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
131
     * This method returns the value of the database column customer.enter_prise_account_id
eddie.woo's avatar
eddie.woo committed
132
     *
gary's avatar
gary committed
133
     * @return the value of customer.enter_prise_account_id
eddie.woo's avatar
eddie.woo committed
134 135 136
     *
     * @mbg.generated
     */
137 138
    public String getEnterPriseAccountId() {
        return enterPriseAccountId;
eddie.woo's avatar
eddie.woo committed
139 140 141 142
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
143
     * This method sets the value of the database column customer.enter_prise_account_id
eddie.woo's avatar
eddie.woo committed
144
     *
gary's avatar
gary committed
145
     * @param enterPriseAccountId the value for customer.enter_prise_account_id
eddie.woo's avatar
eddie.woo committed
146 147 148
     *
     * @mbg.generated
     */
149 150
    public void setEnterPriseAccountId(String enterPriseAccountId) {
        this.enterPriseAccountId = enterPriseAccountId == null ? null : enterPriseAccountId.trim();
eddie.woo's avatar
eddie.woo committed
151 152 153 154
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
155
     * This method corresponds to the database table customer
eddie.woo's avatar
eddie.woo committed
156 157 158 159 160 161 162 163 164
     *
     * @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
165
        sb.append(", id=").append(id);
166 167 168
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", enterPriseAccountId=").append(enterPriseAccountId);
eddie.woo's avatar
eddie.woo committed
169 170 171 172
        sb.append("]");
        return sb.toString();
    }
}