OrganizationStructure.java 5.61 KB
Newer Older
1
package pwc.taxtech.atms.entity;
eddie.woo's avatar
eddie.woo committed
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 organization_structure
eddie.woo's avatar
eddie.woo committed
10 11 12
 *
 * @mbg.generated do_not_delete_during_merge
 */
gary's avatar
gary committed
13
public class OrganizationStructure extends BaseEntity implements Serializable {
eddie.woo's avatar
eddie.woo committed
14 15 16
    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
17
     * This field corresponds to the database column organization_structure.id
eddie.woo's avatar
eddie.woo committed
18 19 20
     *
     * @mbg.generated
     */
neo's avatar
neo committed
21
    private String id;
eddie.woo's avatar
eddie.woo committed
22 23 24 25

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
26
     * This field corresponds to the database column organization_structure.name
eddie.woo's avatar
eddie.woo committed
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 organization_structure.is_active
eddie.woo's avatar
eddie.woo committed
36 37 38 39 40 41 42 43
     *
     * @mbg.generated
     */
    private Boolean isActive;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
44
     * This field corresponds to the database column organization_structure.create_time
eddie.woo's avatar
eddie.woo committed
45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
53
     * This field corresponds to the database column organization_structure.update_time
eddie.woo's avatar
eddie.woo committed
54 55 56 57 58 59 60
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
61
     * This field corresponds to the database table organization_structure
eddie.woo's avatar
eddie.woo committed
62 63 64 65 66 67 68
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
69
     * This method returns the value of the database column organization_structure.id
eddie.woo's avatar
eddie.woo committed
70
     *
gary's avatar
gary committed
71
     * @return the value of organization_structure.id
eddie.woo's avatar
eddie.woo committed
72 73 74
     *
     * @mbg.generated
     */
neo's avatar
neo committed
75 76
    public String getId() {
        return id;
eddie.woo's avatar
eddie.woo committed
77 78 79 80
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
81
     * This method sets the value of the database column organization_structure.id
eddie.woo's avatar
eddie.woo committed
82
     *
gary's avatar
gary committed
83
     * @param id the value for organization_structure.id
eddie.woo's avatar
eddie.woo committed
84 85 86
     *
     * @mbg.generated
     */
neo's avatar
neo committed
87 88
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
eddie.woo's avatar
eddie.woo committed
89 90 91 92
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
93
     * This method returns the value of the database column organization_structure.name
eddie.woo's avatar
eddie.woo committed
94
     *
gary's avatar
gary committed
95
     * @return the value of organization_structure.name
eddie.woo's avatar
eddie.woo committed
96 97 98 99 100 101 102 103 104
     *
     * @mbg.generated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
105
     * This method sets the value of the database column organization_structure.name
eddie.woo's avatar
eddie.woo committed
106
     *
gary's avatar
gary committed
107
     * @param name the value for organization_structure.name
eddie.woo's avatar
eddie.woo committed
108 109 110 111 112 113 114 115 116
     *
     * @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
117
     * This method returns the value of the database column organization_structure.is_active
eddie.woo's avatar
eddie.woo committed
118
     *
gary's avatar
gary committed
119
     * @return the value of organization_structure.is_active
eddie.woo's avatar
eddie.woo committed
120 121 122 123 124 125 126 127 128
     *
     * @mbg.generated
     */
    public Boolean getIsActive() {
        return isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
129
     * This method sets the value of the database column organization_structure.is_active
eddie.woo's avatar
eddie.woo committed
130
     *
gary's avatar
gary committed
131
     * @param isActive the value for organization_structure.is_active
eddie.woo's avatar
eddie.woo committed
132 133 134 135 136 137 138 139 140
     *
     * @mbg.generated
     */
    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
141
     * This method returns the value of the database column organization_structure.create_time
eddie.woo's avatar
eddie.woo committed
142
     *
gary's avatar
gary committed
143
     * @return the value of organization_structure.create_time
eddie.woo's avatar
eddie.woo committed
144 145 146 147 148 149 150 151 152
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
153
     * This method sets the value of the database column organization_structure.create_time
eddie.woo's avatar
eddie.woo committed
154
     *
gary's avatar
gary committed
155
     * @param createTime the value for organization_structure.create_time
eddie.woo's avatar
eddie.woo committed
156 157 158 159 160 161 162 163 164
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
165
     * This method returns the value of the database column organization_structure.update_time
eddie.woo's avatar
eddie.woo committed
166
     *
gary's avatar
gary committed
167
     * @return the value of organization_structure.update_time
eddie.woo's avatar
eddie.woo committed
168 169 170 171 172 173 174 175 176
     *
     * @mbg.generated
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
177
     * This method sets the value of the database column organization_structure.update_time
eddie.woo's avatar
eddie.woo committed
178
     *
gary's avatar
gary committed
179
     * @param updateTime the value for organization_structure.update_time
eddie.woo's avatar
eddie.woo committed
180 181 182 183 184 185 186 187 188
     *
     * @mbg.generated
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
189
     * This method corresponds to the database table organization_structure
eddie.woo's avatar
eddie.woo committed
190 191 192 193 194 195 196 197 198
     *
     * @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
199
        sb.append(", id=").append(id);
eddie.woo's avatar
eddie.woo committed
200 201 202 203 204 205 206 207
        sb.append(", name=").append(name);
        sb.append(", isActive=").append(isActive);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}