Cache.java 3.56 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 cache
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 Cache 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 cache.id
eddie.woo's avatar
eddie.woo committed
17 18 19
     *
     * @mbg.generated
     */
neo's avatar
neo committed
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 cache.cache_key
eddie.woo's avatar
eddie.woo committed
26 27 28 29 30 31 32 33
     *
     * @mbg.generated
     */
    private String cacheKey;

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

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
42
     * This field corresponds to the database table cache
eddie.woo's avatar
eddie.woo committed
43 44 45 46 47 48 49
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
50
     * This method returns the value of the database column cache.id
eddie.woo's avatar
eddie.woo committed
51
     *
gary's avatar
gary committed
52
     * @return the value of cache.id
eddie.woo's avatar
eddie.woo committed
53 54 55
     *
     * @mbg.generated
     */
neo's avatar
neo committed
56 57
    public String getId() {
        return id;
eddie.woo's avatar
eddie.woo committed
58 59 60 61
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
62
     * This method sets the value of the database column cache.id
eddie.woo's avatar
eddie.woo committed
63
     *
gary's avatar
gary committed
64
     * @param id the value for cache.id
eddie.woo's avatar
eddie.woo committed
65 66 67
     *
     * @mbg.generated
     */
neo's avatar
neo committed
68 69
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
eddie.woo's avatar
eddie.woo committed
70 71 72 73
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
74
     * This method returns the value of the database column cache.cache_key
eddie.woo's avatar
eddie.woo committed
75
     *
gary's avatar
gary committed
76
     * @return the value of cache.cache_key
eddie.woo's avatar
eddie.woo committed
77 78 79 80 81 82 83 84 85
     *
     * @mbg.generated
     */
    public String getCacheKey() {
        return cacheKey;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
86
     * This method sets the value of the database column cache.cache_key
eddie.woo's avatar
eddie.woo committed
87
     *
gary's avatar
gary committed
88
     * @param cacheKey the value for cache.cache_key
eddie.woo's avatar
eddie.woo committed
89 90 91 92 93 94 95 96 97
     *
     * @mbg.generated
     */
    public void setCacheKey(String cacheKey) {
        this.cacheKey = cacheKey == null ? null : cacheKey.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
98
     * This method returns the value of the database column cache.last_modify_time
eddie.woo's avatar
eddie.woo committed
99
     *
gary's avatar
gary committed
100
     * @return the value of cache.last_modify_time
eddie.woo's avatar
eddie.woo committed
101 102 103 104 105 106 107 108 109
     *
     * @mbg.generated
     */
    public String getLastModifyTime() {
        return lastModifyTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
110
     * This method sets the value of the database column cache.last_modify_time
eddie.woo's avatar
eddie.woo committed
111
     *
gary's avatar
gary committed
112
     * @param lastModifyTime the value for cache.last_modify_time
eddie.woo's avatar
eddie.woo committed
113 114 115 116 117 118 119 120 121
     *
     * @mbg.generated
     */
    public void setLastModifyTime(String lastModifyTime) {
        this.lastModifyTime = lastModifyTime == null ? null : lastModifyTime.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
122
     * This method corresponds to the database table cache
eddie.woo's avatar
eddie.woo committed
123 124 125 126 127 128 129 130 131
     *
     * @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
132
        sb.append(", id=").append(id);
eddie.woo's avatar
eddie.woo committed
133 134 135 136 137 138
        sb.append(", cacheKey=").append(cacheKey);
        sb.append(", lastModifyTime=").append(lastModifyTime);
        sb.append("]");
        return sb.toString();
    }
}