TaxRuleSetting.java 10.1 KB
Newer Older
1
package pwc.taxtech.atms.entity;
2 3 4 5 6 7 8

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
35
     * This field corresponds to the database column tax_rule_setting.is_default
36 37 38
     *
     * @mbg.generated
     */
39
    private Boolean isDefault;
40 41 42 43

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
44
     * This field corresponds to the database column tax_rule_setting.group_name
45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    private String groupName;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
53
     * This field corresponds to the database column tax_rule_setting.tax_base
54 55 56 57 58 59 60 61
     *
     * @mbg.generated
     */
    private String taxBase;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
62
     * This field corresponds to the database column tax_rule_setting.tax_rate
63 64 65
     *
     * @mbg.generated
     */
66
    private Float taxRate;
67 68 69 70

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

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
80
     * This field corresponds to the database column tax_rule_setting.update_time
81 82 83 84 85 86 87 88
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
89
     * This field corresponds to the database column tax_rule_setting.create_by
90 91 92
     *
     * @mbg.generated
     */
93
    private String createBy;
94 95

    /**
96
     *
97
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
98
     * This field corresponds to the database column tax_rule_setting.update_by
99 100 101 102 103 104 105
     *
     * @mbg.generated
     */
    private String updateBy;

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
106
     * This field corresponds to the database table tax_rule_setting
107 108 109 110 111 112 113
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
114
     * This method returns the value of the database column tax_rule_setting.id
115
     *
gary's avatar
gary committed
116
     * @return the value of tax_rule_setting.id
117 118 119
     *
     * @mbg.generated
     */
120 121
    public Long getId() {
        return id;
122 123 124 125
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
126
     * This method sets the value of the database column tax_rule_setting.id
127
     *
gary's avatar
gary committed
128
     * @param id the value for tax_rule_setting.id
129 130 131
     *
     * @mbg.generated
     */
132 133
    public void setId(Long id) {
        this.id = id;
134 135 136 137
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
138
     * This method returns the value of the database column tax_rule_setting.name
139
     *
gary's avatar
gary committed
140
     * @return the value of tax_rule_setting.name
141 142 143 144 145 146 147 148 149
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
150
     * This method sets the value of the database column tax_rule_setting.name
151
     *
gary's avatar
gary committed
152
     * @param name the value for tax_rule_setting.name
153 154 155 156 157 158 159 160 161
     *
     * @mbg.generated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
162
     * This method returns the value of the database column tax_rule_setting.is_default
163
     *
gary's avatar
gary committed
164
     * @return the value of tax_rule_setting.is_default
165 166 167
     *
     * @mbg.generated
     */
168
    public Boolean getIsDefault() {
169 170 171 172 173
        return isDefault;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
174
     * This method sets the value of the database column tax_rule_setting.is_default
175
     *
gary's avatar
gary committed
176
     * @param isDefault the value for tax_rule_setting.is_default
177 178 179
     *
     * @mbg.generated
     */
180
    public void setIsDefault(Boolean isDefault) {
181 182 183 184 185
        this.isDefault = isDefault;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
186
     * This method returns the value of the database column tax_rule_setting.group_name
187
     *
gary's avatar
gary committed
188
     * @return the value of tax_rule_setting.group_name
189 190 191 192 193 194 195 196 197
     *
     * @mbg.generated
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
198
     * This method sets the value of the database column tax_rule_setting.group_name
199
     *
gary's avatar
gary committed
200
     * @param groupName the value for tax_rule_setting.group_name
201 202 203 204 205 206 207 208 209
     *
     * @mbg.generated
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
210
     * This method returns the value of the database column tax_rule_setting.tax_base
211
     *
gary's avatar
gary committed
212
     * @return the value of tax_rule_setting.tax_base
213 214 215 216 217 218 219 220 221
     *
     * @mbg.generated
     */
    public String getTaxBase() {
        return taxBase;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
222
     * This method sets the value of the database column tax_rule_setting.tax_base
223
     *
gary's avatar
gary committed
224
     * @param taxBase the value for tax_rule_setting.tax_base
225 226 227 228 229 230 231 232 233
     *
     * @mbg.generated
     */
    public void setTaxBase(String taxBase) {
        this.taxBase = taxBase == null ? null : taxBase.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
234
     * This method returns the value of the database column tax_rule_setting.tax_rate
235
     *
gary's avatar
gary committed
236
     * @return the value of tax_rule_setting.tax_rate
237 238 239
     *
     * @mbg.generated
     */
240
    public Float getTaxRate() {
241 242 243 244 245
        return taxRate;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
246
     * This method sets the value of the database column tax_rule_setting.tax_rate
247
     *
gary's avatar
gary committed
248
     * @param taxRate the value for tax_rule_setting.tax_rate
249 250 251
     *
     * @mbg.generated
     */
252
    public void setTaxRate(Float taxRate) {
253 254 255 256 257
        this.taxRate = taxRate;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
258
     * This method returns the value of the database column tax_rule_setting.create_time
259
     *
gary's avatar
gary committed
260
     * @return the value of tax_rule_setting.create_time
261 262 263
     *
     * @mbg.generated
     */
gary's avatar
gary committed
264 265
    public Date getCreateTime() {
        return createTime;
266 267 268 269
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
270
     * This method sets the value of the database column tax_rule_setting.create_time
271
     *
gary's avatar
gary committed
272
     * @param createTime the value for tax_rule_setting.create_time
273 274 275
     *
     * @mbg.generated
     */
gary's avatar
gary committed
276 277
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
278 279 280 281
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
282
     * This method returns the value of the database column tax_rule_setting.update_time
283
     *
gary's avatar
gary committed
284
     * @return the value of tax_rule_setting.update_time
285 286 287 288 289 290 291 292 293
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
294
     * This method sets the value of the database column tax_rule_setting.update_time
295
     *
gary's avatar
gary committed
296
     * @param updateTime the value for tax_rule_setting.update_time
297 298 299 300 301 302 303 304 305
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
306
     * This method returns the value of the database column tax_rule_setting.create_by
307
     *
gary's avatar
gary committed
308
     * @return the value of tax_rule_setting.create_by
309 310 311
     *
     * @mbg.generated
     */
312 313
    public String getCreateBy() {
        return createBy;
314 315 316 317
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
318
     * This method sets the value of the database column tax_rule_setting.create_by
319
     *
gary's avatar
gary committed
320
     * @param createBy the value for tax_rule_setting.create_by
321 322 323
     *
     * @mbg.generated
     */
324 325
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
326 327 328 329
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
330
     * This method returns the value of the database column tax_rule_setting.update_by
331
     *
gary's avatar
gary committed
332
     * @return the value of tax_rule_setting.update_by
333 334 335 336 337 338 339 340 341
     *
     * @mbg.generated
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
342
     * This method sets the value of the database column tax_rule_setting.update_by
343
     *
gary's avatar
gary committed
344
     * @param updateBy the value for tax_rule_setting.update_by
345 346 347 348 349 350 351 352 353
     *
     * @mbg.generated
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
354
     * This method corresponds to the database table tax_rule_setting
355 356 357 358 359 360 361 362 363
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
364
        sb.append(", id=").append(id);
365 366 367
        sb.append(", name=").append(name);
        sb.append(", isDefault=").append(isDefault);
        sb.append(", groupName=").append(groupName);
368
        sb.append(", taxBase=").append(taxBase);
369
        sb.append(", taxRate=").append(taxRate);
gary's avatar
gary committed
370
        sb.append(", createTime=").append(createTime);
371
        sb.append(", updateTime=").append(updateTime);
372 373
        sb.append(", createBy=").append(createBy);
        sb.append(", updateBy=").append(updateBy);
374 375 376 377
        sb.append("]");
        return sb.toString();
    }
}