package pwc.taxtech.atms.entity; import java.io.Serializable; /** * * This class was generated by MyBatis Generator. * This class corresponds to the database table user_organization * * @mbg.generated do_not_delete_during_merge */ public class UserOrganization extends BaseEntity implements Serializable { /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column user_organization.id * * @mbg.generated */ private String id; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column user_organization.user_id * * @mbg.generated */ private String userId; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column user_organization.organization_id * * @mbg.generated */ private String organizationId; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column user_organization.is_accessible * * @mbg.generated */ private Boolean isAccessible; /** * * This field was generated by MyBatis Generator. * This field corresponds to the database column user_organization.has_original_role * * @mbg.generated */ private Boolean hasOriginalRole; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table user_organization * * @mbg.generated */ private static final long serialVersionUID = 1L; /** * This method was generated by MyBatis Generator. * This method returns the value of the database column user_organization.id * * @return the value of user_organization.id * * @mbg.generated */ public String getId() { return id; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column user_organization.id * * @param id the value for user_organization.id * * @mbg.generated */ public void setId(String id) { this.id = id == null ? null : id.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column user_organization.user_id * * @return the value of user_organization.user_id * * @mbg.generated */ public String getUserId() { return userId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column user_organization.user_id * * @param userId the value for user_organization.user_id * * @mbg.generated */ public void setUserId(String userId) { this.userId = userId == null ? null : userId.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column user_organization.organization_id * * @return the value of user_organization.organization_id * * @mbg.generated */ public String getOrganizationId() { return organizationId; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column user_organization.organization_id * * @param organizationId the value for user_organization.organization_id * * @mbg.generated */ public void setOrganizationId(String organizationId) { this.organizationId = organizationId == null ? null : organizationId.trim(); } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column user_organization.is_accessible * * @return the value of user_organization.is_accessible * * @mbg.generated */ public Boolean getIsAccessible() { return isAccessible; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column user_organization.is_accessible * * @param isAccessible the value for user_organization.is_accessible * * @mbg.generated */ public void setIsAccessible(Boolean isAccessible) { this.isAccessible = isAccessible; } /** * This method was generated by MyBatis Generator. * This method returns the value of the database column user_organization.has_original_role * * @return the value of user_organization.has_original_role * * @mbg.generated */ public Boolean getHasOriginalRole() { return hasOriginalRole; } /** * This method was generated by MyBatis Generator. * This method sets the value of the database column user_organization.has_original_role * * @param hasOriginalRole the value for user_organization.has_original_role * * @mbg.generated */ public void setHasOriginalRole(Boolean hasOriginalRole) { this.hasOriginalRole = hasOriginalRole; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table user_organization * * @mbg.generated */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); sb.append(", userId=").append(userId); sb.append(", organizationId=").append(organizationId); sb.append(", isAccessible=").append(isAccessible); sb.append(", hasOriginalRole=").append(hasOriginalRole); sb.append("]"); return sb.toString(); } }