UserOrganization.java 5.73 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 user_organization
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 UserOrganization 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 user_organization.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 user_organization.user_id
eddie.woo's avatar
eddie.woo committed
26 27 28
     *
     * @mbg.generated
     */
neo's avatar
neo committed
29
    private String userId;
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 user_organization.organization_id
eddie.woo's avatar
eddie.woo committed
35 36 37
     *
     * @mbg.generated
     */
neo's avatar
neo committed
38
    private String organizationId;
eddie.woo's avatar
eddie.woo committed
39 40 41 42

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
43
     * This field corresponds to the database column user_organization.is_accessible
eddie.woo's avatar
eddie.woo committed
44 45 46 47 48 49 50 51
     *
     * @mbg.generated
     */
    private Boolean isAccessible;

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
52
     * This field corresponds to the database column user_organization.has_original_role
eddie.woo's avatar
eddie.woo committed
53 54 55 56 57 58 59
     *
     * @mbg.generated
     */
    private Boolean hasOriginalRole;

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
104
     * This method sets the value of the database column user_organization.user_id
eddie.woo's avatar
eddie.woo committed
105
     *
gary's avatar
gary committed
106
     * @param userId the value for user_organization.user_id
eddie.woo's avatar
eddie.woo committed
107 108 109
     *
     * @mbg.generated
     */
neo's avatar
neo committed
110 111
    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
eddie.woo's avatar
eddie.woo committed
112 113 114 115
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
116
     * This method returns the value of the database column user_organization.organization_id
eddie.woo's avatar
eddie.woo committed
117
     *
gary's avatar
gary committed
118
     * @return the value of user_organization.organization_id
eddie.woo's avatar
eddie.woo committed
119 120 121
     *
     * @mbg.generated
     */
neo's avatar
neo committed
122 123
    public String getOrganizationId() {
        return organizationId;
eddie.woo's avatar
eddie.woo committed
124 125 126 127
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
128
     * This method sets the value of the database column user_organization.organization_id
eddie.woo's avatar
eddie.woo committed
129
     *
gary's avatar
gary committed
130
     * @param organizationId the value for user_organization.organization_id
eddie.woo's avatar
eddie.woo committed
131 132 133
     *
     * @mbg.generated
     */
neo's avatar
neo committed
134 135
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId == null ? null : organizationId.trim();
eddie.woo's avatar
eddie.woo committed
136 137 138 139
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
140
     * This method returns the value of the database column user_organization.is_accessible
eddie.woo's avatar
eddie.woo committed
141
     *
gary's avatar
gary committed
142
     * @return the value of user_organization.is_accessible
eddie.woo's avatar
eddie.woo committed
143 144 145 146 147 148 149 150 151
     *
     * @mbg.generated
     */
    public Boolean getIsAccessible() {
        return isAccessible;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
152
     * This method sets the value of the database column user_organization.is_accessible
eddie.woo's avatar
eddie.woo committed
153
     *
gary's avatar
gary committed
154
     * @param isAccessible the value for user_organization.is_accessible
eddie.woo's avatar
eddie.woo committed
155 156 157 158 159 160 161 162 163
     *
     * @mbg.generated
     */
    public void setIsAccessible(Boolean isAccessible) {
        this.isAccessible = isAccessible;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
164
     * This method returns the value of the database column user_organization.has_original_role
eddie.woo's avatar
eddie.woo committed
165
     *
gary's avatar
gary committed
166
     * @return the value of user_organization.has_original_role
eddie.woo's avatar
eddie.woo committed
167 168 169 170 171 172 173 174 175
     *
     * @mbg.generated
     */
    public Boolean getHasOriginalRole() {
        return hasOriginalRole;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
176
     * This method sets the value of the database column user_organization.has_original_role
eddie.woo's avatar
eddie.woo committed
177
     *
gary's avatar
gary committed
178
     * @param hasOriginalRole the value for user_organization.has_original_role
eddie.woo's avatar
eddie.woo committed
179 180 181 182 183 184 185 186 187
     *
     * @mbg.generated
     */
    public void setHasOriginalRole(Boolean hasOriginalRole) {
        this.hasOriginalRole = hasOriginalRole;
    }

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