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_role
 *
 * @mbg.generated do_not_delete_during_merge
 */
public class UserOrganizationRole extends BaseEntity implements Serializable {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_organization_role.id
     *
     * @mbg.generated
     */
    private String id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_organization_role.user_organization_id
     *
     * @mbg.generated
     */
    private String userOrganizationId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column user_organization_role.role_id
     *
     * @mbg.generated
     */
    private String roleId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user_organization_role
     *
     * @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_role.id
     *
     * @return the value of user_organization_role.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_role.id
     *
     * @param id the value for user_organization_role.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_role.user_organization_id
     *
     * @return the value of user_organization_role.user_organization_id
     *
     * @mbg.generated
     */
    public String getUserOrganizationId() {
        return userOrganizationId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_organization_role.user_organization_id
     *
     * @param userOrganizationId the value for user_organization_role.user_organization_id
     *
     * @mbg.generated
     */
    public void setUserOrganizationId(String userOrganizationId) {
        this.userOrganizationId = userOrganizationId == null ? null : userOrganizationId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_organization_role.role_id
     *
     * @return the value of user_organization_role.role_id
     *
     * @mbg.generated
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_organization_role.role_id
     *
     * @param roleId the value for user_organization_role.role_id
     *
     * @mbg.generated
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId == null ? null : roleId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user_organization_role
     *
     * @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(", userOrganizationId=").append(userOrganizationId);
        sb.append(", roleId=").append(roleId);
        sb.append("]");
        return sb.toString();
    }
}