package cn.exploring.engine.server.db.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

public class WxUser {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public static final Boolean IS_DELETED = Deleted.IS_DELETED.value();

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public static final Boolean NOT_DELETED = Deleted.NOT_DELETED.value();

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.id
     *
     * @mbg.generated
     */
    private Integer id;

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.gender
     *
     * @mbg.generated
     */
    private Byte gender;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.birthday
     *
     * @mbg.generated
     */
    private LocalDate birthday;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.last_login_time
     *
     * @mbg.generated
     */
    private LocalDateTime lastLoginTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.last_login_ip
     *
     * @mbg.generated
     */
    private String lastLoginIp;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.user_level
     *
     * @mbg.generated
     */
    private Byte userLevel;

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

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

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.weixin_openid
     *
     * @mbg.generated
     */
    private String weixinOpenid;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.status
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.scores
     *
     * @mbg.generated
     */
    private Integer scores;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.is_send_scores
     *
     * @mbg.generated
     */
    private Integer isSendScores;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.is_gy
     *
     * @mbg.generated
     */
    private Integer isGy;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.gy_id
     *
     * @mbg.generated
     */
    private String gyId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.gy_product_name
     *
     * @mbg.generated
     */
    private String gyProductName;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.card_id
     *
     * @mbg.generated
     */
    private String cardId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.wx_id
     *
     * @mbg.generated
     */
    private String wxId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.card_type_id
     *
     * @mbg.generated
     */
    private Integer cardTypeId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.card_type_name
     *
     * @mbg.generated
     */
    private String cardTypeName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.fans_num
     *
     * @mbg.generated
     */
    private Integer fansNum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.likes_num
     *
     * @mbg.generated
     */
    private Integer likesNum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.journal_num
     *
     * @mbg.generated
     */
    private Integer journalNum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.join_exercise_num
     *
     * @mbg.generated
     */
    private Integer joinExerciseNum;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.join_org_num
     *
     * @mbg.generated
     */
    private Integer joinOrgNum;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.is_h5_register
     *
     * @mbg.generated
     */
    private Boolean isH5Register;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.duty_types_id
     *
     * @mbg.generated
     */
    private Integer dutyTypesId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.duty_types_name
     *
     * @mbg.generated
     */
    private String dutyTypesName;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.weight
     *
     * @mbg.generated
     */
    private Integer weight;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.height
     *
     * @mbg.generated
     */
    private Integer height;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.step_size
     *
     * @mbg.generated
     */
    private Integer stepSize;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.is_close_wx_sport
     *
     * @mbg.generated
     */
    private Boolean isCloseWxSport;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.is_audit_administrator
     *
     * @mbg.generated
     */
    private Boolean isAuditAdministrator;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.add_time
     *
     * @mbg.generated
     */
    private LocalDateTime addTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.update_time
     *
     * @mbg.generated
     */
    private LocalDateTime updateTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column wx_user.deleted
     *
     * @mbg.generated
     */
    private Boolean deleted;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.id
     *
     * @return the value of wx_user.id
     *
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.id
     *
     * @param id the value for wx_user.id
     *
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.username
     *
     * @return the value of wx_user.username
     *
     * @mbg.generated
     */
    public String getUsername() {
        return username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.username
     *
     * @param username the value for wx_user.username
     *
     * @mbg.generated
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.password
     *
     * @return the value of wx_user.password
     *
     * @mbg.generated
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.password
     *
     * @param password the value for wx_user.password
     *
     * @mbg.generated
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.gender
     *
     * @return the value of wx_user.gender
     *
     * @mbg.generated
     */
    public Byte getGender() {
        return gender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.gender
     *
     * @param gender the value for wx_user.gender
     *
     * @mbg.generated
     */
    public void setGender(Byte gender) {
        this.gender = gender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.birthday
     *
     * @return the value of wx_user.birthday
     *
     * @mbg.generated
     */
    public LocalDate getBirthday() {
        return birthday;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.birthday
     *
     * @param birthday the value for wx_user.birthday
     *
     * @mbg.generated
     */
    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.last_login_time
     *
     * @return the value of wx_user.last_login_time
     *
     * @mbg.generated
     */
    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.last_login_time
     *
     * @param lastLoginTime the value for wx_user.last_login_time
     *
     * @mbg.generated
     */
    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.last_login_ip
     *
     * @return the value of wx_user.last_login_ip
     *
     * @mbg.generated
     */
    public String getLastLoginIp() {
        return lastLoginIp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.last_login_ip
     *
     * @param lastLoginIp the value for wx_user.last_login_ip
     *
     * @mbg.generated
     */
    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.user_level
     *
     * @return the value of wx_user.user_level
     *
     * @mbg.generated
     */
    public Byte getUserLevel() {
        return userLevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.user_level
     *
     * @param userLevel the value for wx_user.user_level
     *
     * @mbg.generated
     */
    public void setUserLevel(Byte userLevel) {
        this.userLevel = userLevel;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.nickname
     *
     * @return the value of wx_user.nickname
     *
     * @mbg.generated
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.nickname
     *
     * @param nickname the value for wx_user.nickname
     *
     * @mbg.generated
     */
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.mobile
     *
     * @return the value of wx_user.mobile
     *
     * @mbg.generated
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.mobile
     *
     * @param mobile the value for wx_user.mobile
     *
     * @mbg.generated
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.avatar
     *
     * @return the value of wx_user.avatar
     *
     * @mbg.generated
     */
    public String getAvatar() {
        return avatar;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.avatar
     *
     * @param avatar the value for wx_user.avatar
     *
     * @mbg.generated
     */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.weixin_openid
     *
     * @return the value of wx_user.weixin_openid
     *
     * @mbg.generated
     */
    public String getWeixinOpenid() {
        return weixinOpenid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.weixin_openid
     *
     * @param weixinOpenid the value for wx_user.weixin_openid
     *
     * @mbg.generated
     */
    public void setWeixinOpenid(String weixinOpenid) {
        this.weixinOpenid = weixinOpenid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.status
     *
     * @return the value of wx_user.status
     *
     * @mbg.generated
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.status
     *
     * @param status the value for wx_user.status
     *
     * @mbg.generated
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.scores
     *
     * @return the value of wx_user.scores
     *
     * @mbg.generated
     */
    public Integer getScores() {
        return scores;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.scores
     *
     * @param scores the value for wx_user.scores
     *
     * @mbg.generated
     */
    public void setScores(Integer scores) {
        this.scores = scores;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.is_send_scores
     *
     * @return the value of wx_user.is_send_scores
     *
     * @mbg.generated
     */
    public Integer getIsSendScores() {
        return isSendScores;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.is_send_scores
     *
     * @param isSendScores the value for wx_user.is_send_scores
     *
     * @mbg.generated
     */
    public void setIsSendScores(Integer isSendScores) {
        this.isSendScores = isSendScores;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.is_gy
     *
     * @return the value of wx_user.is_gy
     *
     * @mbg.generated
     */
    public Integer getIsGy() {
        return isGy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.is_gy
     *
     * @param isGy the value for wx_user.is_gy
     *
     * @mbg.generated
     */
    public void setIsGy(Integer isGy) {
        this.isGy = isGy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.gy_id
     *
     * @return the value of wx_user.gy_id
     *
     * @mbg.generated
     */
    public String getGyId() {
        return gyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.gy_id
     *
     * @param gyId the value for wx_user.gy_id
     *
     * @mbg.generated
     */
    public void setGyId(String gyId) {
        this.gyId = gyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.gy_product_name
     *
     * @return the value of wx_user.gy_product_name
     *
     * @mbg.generated
     */
    public String getGyProductName() {
        return gyProductName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.gy_product_name
     *
     * @param gyProductName the value for wx_user.gy_product_name
     *
     * @mbg.generated
     */
    public void setGyProductName(String gyProductName) {
        this.gyProductName = gyProductName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.school
     *
     * @return the value of wx_user.school
     *
     * @mbg.generated
     */
    public String getSchool() {
        return school;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.school
     *
     * @param school the value for wx_user.school
     *
     * @mbg.generated
     */
    public void setSchool(String school) {
        this.school = school;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.card_id
     *
     * @return the value of wx_user.card_id
     *
     * @mbg.generated
     */
    public String getCardId() {
        return cardId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.card_id
     *
     * @param cardId the value for wx_user.card_id
     *
     * @mbg.generated
     */
    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.wx_id
     *
     * @return the value of wx_user.wx_id
     *
     * @mbg.generated
     */
    public String getWxId() {
        return wxId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.wx_id
     *
     * @param wxId the value for wx_user.wx_id
     *
     * @mbg.generated
     */
    public void setWxId(String wxId) {
        this.wxId = wxId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.card_type_id
     *
     * @return the value of wx_user.card_type_id
     *
     * @mbg.generated
     */
    public Integer getCardTypeId() {
        return cardTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.card_type_id
     *
     * @param cardTypeId the value for wx_user.card_type_id
     *
     * @mbg.generated
     */
    public void setCardTypeId(Integer cardTypeId) {
        this.cardTypeId = cardTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.card_type_name
     *
     * @return the value of wx_user.card_type_name
     *
     * @mbg.generated
     */
    public String getCardTypeName() {
        return cardTypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.card_type_name
     *
     * @param cardTypeName the value for wx_user.card_type_name
     *
     * @mbg.generated
     */
    public void setCardTypeName(String cardTypeName) {
        this.cardTypeName = cardTypeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.fans_num
     *
     * @return the value of wx_user.fans_num
     *
     * @mbg.generated
     */
    public Integer getFansNum() {
        return fansNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.fans_num
     *
     * @param fansNum the value for wx_user.fans_num
     *
     * @mbg.generated
     */
    public void setFansNum(Integer fansNum) {
        this.fansNum = fansNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.likes_num
     *
     * @return the value of wx_user.likes_num
     *
     * @mbg.generated
     */
    public Integer getLikesNum() {
        return likesNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.likes_num
     *
     * @param likesNum the value for wx_user.likes_num
     *
     * @mbg.generated
     */
    public void setLikesNum(Integer likesNum) {
        this.likesNum = likesNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.journal_num
     *
     * @return the value of wx_user.journal_num
     *
     * @mbg.generated
     */
    public Integer getJournalNum() {
        return journalNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.journal_num
     *
     * @param journalNum the value for wx_user.journal_num
     *
     * @mbg.generated
     */
    public void setJournalNum(Integer journalNum) {
        this.journalNum = journalNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.join_exercise_num
     *
     * @return the value of wx_user.join_exercise_num
     *
     * @mbg.generated
     */
    public Integer getJoinExerciseNum() {
        return joinExerciseNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.join_exercise_num
     *
     * @param joinExerciseNum the value for wx_user.join_exercise_num
     *
     * @mbg.generated
     */
    public void setJoinExerciseNum(Integer joinExerciseNum) {
        this.joinExerciseNum = joinExerciseNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.join_org_num
     *
     * @return the value of wx_user.join_org_num
     *
     * @mbg.generated
     */
    public Integer getJoinOrgNum() {
        return joinOrgNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.join_org_num
     *
     * @param joinOrgNum the value for wx_user.join_org_num
     *
     * @mbg.generated
     */
    public void setJoinOrgNum(Integer joinOrgNum) {
        this.joinOrgNum = joinOrgNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.email
     *
     * @return the value of wx_user.email
     *
     * @mbg.generated
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.email
     *
     * @param email the value for wx_user.email
     *
     * @mbg.generated
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.is_h5_register
     *
     * @return the value of wx_user.is_h5_register
     *
     * @mbg.generated
     */
    public Boolean getIsH5Register() {
        return isH5Register;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.is_h5_register
     *
     * @param isH5Register the value for wx_user.is_h5_register
     *
     * @mbg.generated
     */
    public void setIsH5Register(Boolean isH5Register) {
        this.isH5Register = isH5Register;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.firm
     *
     * @return the value of wx_user.firm
     *
     * @mbg.generated
     */
    public String getFirm() {
        return firm;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.firm
     *
     * @param firm the value for wx_user.firm
     *
     * @mbg.generated
     */
    public void setFirm(String firm) {
        this.firm = firm;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.duty_types_id
     *
     * @return the value of wx_user.duty_types_id
     *
     * @mbg.generated
     */
    public Integer getDutyTypesId() {
        return dutyTypesId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.duty_types_id
     *
     * @param dutyTypesId the value for wx_user.duty_types_id
     *
     * @mbg.generated
     */
    public void setDutyTypesId(Integer dutyTypesId) {
        this.dutyTypesId = dutyTypesId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.duty_types_name
     *
     * @return the value of wx_user.duty_types_name
     *
     * @mbg.generated
     */
    public String getDutyTypesName() {
        return dutyTypesName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.duty_types_name
     *
     * @param dutyTypesName the value for wx_user.duty_types_name
     *
     * @mbg.generated
     */
    public void setDutyTypesName(String dutyTypesName) {
        this.dutyTypesName = dutyTypesName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.weight
     *
     * @return the value of wx_user.weight
     *
     * @mbg.generated
     */
    public Integer getWeight() {
        return weight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.weight
     *
     * @param weight the value for wx_user.weight
     *
     * @mbg.generated
     */
    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.height
     *
     * @return the value of wx_user.height
     *
     * @mbg.generated
     */
    public Integer getHeight() {
        return height;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.height
     *
     * @param height the value for wx_user.height
     *
     * @mbg.generated
     */
    public void setHeight(Integer height) {
        this.height = height;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.step_size
     *
     * @return the value of wx_user.step_size
     *
     * @mbg.generated
     */
    public Integer getStepSize() {
        return stepSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.step_size
     *
     * @param stepSize the value for wx_user.step_size
     *
     * @mbg.generated
     */
    public void setStepSize(Integer stepSize) {
        this.stepSize = stepSize;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.is_close_wx_sport
     *
     * @return the value of wx_user.is_close_wx_sport
     *
     * @mbg.generated
     */
    public Boolean getIsCloseWxSport() {
        return isCloseWxSport;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.is_close_wx_sport
     *
     * @param isCloseWxSport the value for wx_user.is_close_wx_sport
     *
     * @mbg.generated
     */
    public void setIsCloseWxSport(Boolean isCloseWxSport) {
        this.isCloseWxSport = isCloseWxSport;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.is_audit_administrator
     *
     * @return the value of wx_user.is_audit_administrator
     *
     * @mbg.generated
     */
    public Boolean getIsAuditAdministrator() {
        return isAuditAdministrator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.is_audit_administrator
     *
     * @param isAuditAdministrator the value for wx_user.is_audit_administrator
     *
     * @mbg.generated
     */
    public void setIsAuditAdministrator(Boolean isAuditAdministrator) {
        this.isAuditAdministrator = isAuditAdministrator;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.add_time
     *
     * @return the value of wx_user.add_time
     *
     * @mbg.generated
     */
    public LocalDateTime getAddTime() {
        return addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.add_time
     *
     * @param addTime the value for wx_user.add_time
     *
     * @mbg.generated
     */
    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.update_time
     *
     * @return the value of wx_user.update_time
     *
     * @mbg.generated
     */
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.update_time
     *
     * @param updateTime the value for wx_user.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public void andLogicalDeleted(boolean deleted) {
        setDeleted(deleted ? Deleted.IS_DELETED.value() : Deleted.NOT_DELETED.value());
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column wx_user.deleted
     *
     * @return the value of wx_user.deleted
     *
     * @mbg.generated
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column wx_user.deleted
     *
     * @param deleted the value for wx_user.deleted
     *
     * @mbg.generated
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", IS_DELETED=").append(IS_DELETED);
        sb.append(", NOT_DELETED=").append(NOT_DELETED);
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", password=").append(password);
        sb.append(", gender=").append(gender);
        sb.append(", birthday=").append(birthday);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", lastLoginIp=").append(lastLoginIp);
        sb.append(", userLevel=").append(userLevel);
        sb.append(", nickname=").append(nickname);
        sb.append(", mobile=").append(mobile);
        sb.append(", avatar=").append(avatar);
        sb.append(", weixinOpenid=").append(weixinOpenid);
        sb.append(", status=").append(status);
        sb.append(", scores=").append(scores);
        sb.append(", isSendScores=").append(isSendScores);
        sb.append(", isGy=").append(isGy);
        sb.append(", gyId=").append(gyId);
        sb.append(", gyProductName=").append(gyProductName);
        sb.append(", school=").append(school);
        sb.append(", cardId=").append(cardId);
        sb.append(", wxId=").append(wxId);
        sb.append(", cardTypeId=").append(cardTypeId);
        sb.append(", cardTypeName=").append(cardTypeName);
        sb.append(", fansNum=").append(fansNum);
        sb.append(", likesNum=").append(likesNum);
        sb.append(", journalNum=").append(journalNum);
        sb.append(", joinExerciseNum=").append(joinExerciseNum);
        sb.append(", joinOrgNum=").append(joinOrgNum);
        sb.append(", email=").append(email);
        sb.append(", isH5Register=").append(isH5Register);
        sb.append(", firm=").append(firm);
        sb.append(", dutyTypesId=").append(dutyTypesId);
        sb.append(", dutyTypesName=").append(dutyTypesName);
        sb.append(", weight=").append(weight);
        sb.append(", height=").append(height);
        sb.append(", stepSize=").append(stepSize);
        sb.append(", isCloseWxSport=").append(isCloseWxSport);
        sb.append(", isAuditAdministrator=").append(isAuditAdministrator);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", deleted=").append(deleted);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        WxUser other = (WxUser) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getGender() == null ? other.getGender() == null : this.getGender().equals(other.getGender()))
            && (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
            && (this.getLastLoginTime() == null ? other.getLastLoginTime() == null : this.getLastLoginTime().equals(other.getLastLoginTime()))
            && (this.getLastLoginIp() == null ? other.getLastLoginIp() == null : this.getLastLoginIp().equals(other.getLastLoginIp()))
            && (this.getUserLevel() == null ? other.getUserLevel() == null : this.getUserLevel().equals(other.getUserLevel()))
            && (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname()))
            && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
            && (this.getAvatar() == null ? other.getAvatar() == null : this.getAvatar().equals(other.getAvatar()))
            && (this.getWeixinOpenid() == null ? other.getWeixinOpenid() == null : this.getWeixinOpenid().equals(other.getWeixinOpenid()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getScores() == null ? other.getScores() == null : this.getScores().equals(other.getScores()))
            && (this.getIsSendScores() == null ? other.getIsSendScores() == null : this.getIsSendScores().equals(other.getIsSendScores()))
            && (this.getIsGy() == null ? other.getIsGy() == null : this.getIsGy().equals(other.getIsGy()))
            && (this.getGyId() == null ? other.getGyId() == null : this.getGyId().equals(other.getGyId()))
            && (this.getGyProductName() == null ? other.getGyProductName() == null : this.getGyProductName().equals(other.getGyProductName()))
            && (this.getSchool() == null ? other.getSchool() == null : this.getSchool().equals(other.getSchool()))
            && (this.getCardId() == null ? other.getCardId() == null : this.getCardId().equals(other.getCardId()))
            && (this.getWxId() == null ? other.getWxId() == null : this.getWxId().equals(other.getWxId()))
            && (this.getCardTypeId() == null ? other.getCardTypeId() == null : this.getCardTypeId().equals(other.getCardTypeId()))
            && (this.getCardTypeName() == null ? other.getCardTypeName() == null : this.getCardTypeName().equals(other.getCardTypeName()))
            && (this.getFansNum() == null ? other.getFansNum() == null : this.getFansNum().equals(other.getFansNum()))
            && (this.getLikesNum() == null ? other.getLikesNum() == null : this.getLikesNum().equals(other.getLikesNum()))
            && (this.getJournalNum() == null ? other.getJournalNum() == null : this.getJournalNum().equals(other.getJournalNum()))
            && (this.getJoinExerciseNum() == null ? other.getJoinExerciseNum() == null : this.getJoinExerciseNum().equals(other.getJoinExerciseNum()))
            && (this.getJoinOrgNum() == null ? other.getJoinOrgNum() == null : this.getJoinOrgNum().equals(other.getJoinOrgNum()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getIsH5Register() == null ? other.getIsH5Register() == null : this.getIsH5Register().equals(other.getIsH5Register()))
            && (this.getFirm() == null ? other.getFirm() == null : this.getFirm().equals(other.getFirm()))
            && (this.getDutyTypesId() == null ? other.getDutyTypesId() == null : this.getDutyTypesId().equals(other.getDutyTypesId()))
            && (this.getDutyTypesName() == null ? other.getDutyTypesName() == null : this.getDutyTypesName().equals(other.getDutyTypesName()))
            && (this.getWeight() == null ? other.getWeight() == null : this.getWeight().equals(other.getWeight()))
            && (this.getHeight() == null ? other.getHeight() == null : this.getHeight().equals(other.getHeight()))
            && (this.getStepSize() == null ? other.getStepSize() == null : this.getStepSize().equals(other.getStepSize()))
            && (this.getIsCloseWxSport() == null ? other.getIsCloseWxSport() == null : this.getIsCloseWxSport().equals(other.getIsCloseWxSport()))
            && (this.getIsAuditAdministrator() == null ? other.getIsAuditAdministrator() == null : this.getIsAuditAdministrator().equals(other.getIsAuditAdministrator()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getGender() == null) ? 0 : getGender().hashCode());
        result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
        result = prime * result + ((getLastLoginTime() == null) ? 0 : getLastLoginTime().hashCode());
        result = prime * result + ((getLastLoginIp() == null) ? 0 : getLastLoginIp().hashCode());
        result = prime * result + ((getUserLevel() == null) ? 0 : getUserLevel().hashCode());
        result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode());
        result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
        result = prime * result + ((getAvatar() == null) ? 0 : getAvatar().hashCode());
        result = prime * result + ((getWeixinOpenid() == null) ? 0 : getWeixinOpenid().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getScores() == null) ? 0 : getScores().hashCode());
        result = prime * result + ((getIsSendScores() == null) ? 0 : getIsSendScores().hashCode());
        result = prime * result + ((getIsGy() == null) ? 0 : getIsGy().hashCode());
        result = prime * result + ((getGyId() == null) ? 0 : getGyId().hashCode());
        result = prime * result + ((getGyProductName() == null) ? 0 : getGyProductName().hashCode());
        result = prime * result + ((getSchool() == null) ? 0 : getSchool().hashCode());
        result = prime * result + ((getCardId() == null) ? 0 : getCardId().hashCode());
        result = prime * result + ((getWxId() == null) ? 0 : getWxId().hashCode());
        result = prime * result + ((getCardTypeId() == null) ? 0 : getCardTypeId().hashCode());
        result = prime * result + ((getCardTypeName() == null) ? 0 : getCardTypeName().hashCode());
        result = prime * result + ((getFansNum() == null) ? 0 : getFansNum().hashCode());
        result = prime * result + ((getLikesNum() == null) ? 0 : getLikesNum().hashCode());
        result = prime * result + ((getJournalNum() == null) ? 0 : getJournalNum().hashCode());
        result = prime * result + ((getJoinExerciseNum() == null) ? 0 : getJoinExerciseNum().hashCode());
        result = prime * result + ((getJoinOrgNum() == null) ? 0 : getJoinOrgNum().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getIsH5Register() == null) ? 0 : getIsH5Register().hashCode());
        result = prime * result + ((getFirm() == null) ? 0 : getFirm().hashCode());
        result = prime * result + ((getDutyTypesId() == null) ? 0 : getDutyTypesId().hashCode());
        result = prime * result + ((getDutyTypesName() == null) ? 0 : getDutyTypesName().hashCode());
        result = prime * result + ((getWeight() == null) ? 0 : getWeight().hashCode());
        result = prime * result + ((getHeight() == null) ? 0 : getHeight().hashCode());
        result = prime * result + ((getStepSize() == null) ? 0 : getStepSize().hashCode());
        result = prime * result + ((getIsCloseWxSport() == null) ? 0 : getIsCloseWxSport().hashCode());
        result = prime * result + ((getIsAuditAdministrator() == null) ? 0 : getIsAuditAdministrator().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
        return result;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public static WxUser.Builder builder() {
        return new WxUser.Builder();
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public static class Builder {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private WxUser obj;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public Builder() {
            this.obj = new WxUser();
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.id
         *
         * @param id the value for wx_user.id
         *
         * @mbg.generated
         */
        public Builder id(Integer id) {
            obj.setId(id);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.username
         *
         * @param username the value for wx_user.username
         *
         * @mbg.generated
         */
        public Builder username(String username) {
            obj.setUsername(username);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.password
         *
         * @param password the value for wx_user.password
         *
         * @mbg.generated
         */
        public Builder password(String password) {
            obj.setPassword(password);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.gender
         *
         * @param gender the value for wx_user.gender
         *
         * @mbg.generated
         */
        public Builder gender(Byte gender) {
            obj.setGender(gender);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.birthday
         *
         * @param birthday the value for wx_user.birthday
         *
         * @mbg.generated
         */
        public Builder birthday(LocalDate birthday) {
            obj.setBirthday(birthday);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.last_login_time
         *
         * @param lastLoginTime the value for wx_user.last_login_time
         *
         * @mbg.generated
         */
        public Builder lastLoginTime(LocalDateTime lastLoginTime) {
            obj.setLastLoginTime(lastLoginTime);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.last_login_ip
         *
         * @param lastLoginIp the value for wx_user.last_login_ip
         *
         * @mbg.generated
         */
        public Builder lastLoginIp(String lastLoginIp) {
            obj.setLastLoginIp(lastLoginIp);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.user_level
         *
         * @param userLevel the value for wx_user.user_level
         *
         * @mbg.generated
         */
        public Builder userLevel(Byte userLevel) {
            obj.setUserLevel(userLevel);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.nickname
         *
         * @param nickname the value for wx_user.nickname
         *
         * @mbg.generated
         */
        public Builder nickname(String nickname) {
            obj.setNickname(nickname);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.mobile
         *
         * @param mobile the value for wx_user.mobile
         *
         * @mbg.generated
         */
        public Builder mobile(String mobile) {
            obj.setMobile(mobile);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.avatar
         *
         * @param avatar the value for wx_user.avatar
         *
         * @mbg.generated
         */
        public Builder avatar(String avatar) {
            obj.setAvatar(avatar);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.weixin_openid
         *
         * @param weixinOpenid the value for wx_user.weixin_openid
         *
         * @mbg.generated
         */
        public Builder weixinOpenid(String weixinOpenid) {
            obj.setWeixinOpenid(weixinOpenid);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.status
         *
         * @param status the value for wx_user.status
         *
         * @mbg.generated
         */
        public Builder status(Byte status) {
            obj.setStatus(status);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.scores
         *
         * @param scores the value for wx_user.scores
         *
         * @mbg.generated
         */
        public Builder scores(Integer scores) {
            obj.setScores(scores);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.is_send_scores
         *
         * @param isSendScores the value for wx_user.is_send_scores
         *
         * @mbg.generated
         */
        public Builder isSendScores(Integer isSendScores) {
            obj.setIsSendScores(isSendScores);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.is_gy
         *
         * @param isGy the value for wx_user.is_gy
         *
         * @mbg.generated
         */
        public Builder isGy(Integer isGy) {
            obj.setIsGy(isGy);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.gy_id
         *
         * @param gyId the value for wx_user.gy_id
         *
         * @mbg.generated
         */
        public Builder gyId(String gyId) {
            obj.setGyId(gyId);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.gy_product_name
         *
         * @param gyProductName the value for wx_user.gy_product_name
         *
         * @mbg.generated
         */
        public Builder gyProductName(String gyProductName) {
            obj.setGyProductName(gyProductName);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.school
         *
         * @param school the value for wx_user.school
         *
         * @mbg.generated
         */
        public Builder school(String school) {
            obj.setSchool(school);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.card_id
         *
         * @param cardId the value for wx_user.card_id
         *
         * @mbg.generated
         */
        public Builder cardId(String cardId) {
            obj.setCardId(cardId);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.wx_id
         *
         * @param wxId the value for wx_user.wx_id
         *
         * @mbg.generated
         */
        public Builder wxId(String wxId) {
            obj.setWxId(wxId);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.card_type_id
         *
         * @param cardTypeId the value for wx_user.card_type_id
         *
         * @mbg.generated
         */
        public Builder cardTypeId(Integer cardTypeId) {
            obj.setCardTypeId(cardTypeId);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.card_type_name
         *
         * @param cardTypeName the value for wx_user.card_type_name
         *
         * @mbg.generated
         */
        public Builder cardTypeName(String cardTypeName) {
            obj.setCardTypeName(cardTypeName);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.fans_num
         *
         * @param fansNum the value for wx_user.fans_num
         *
         * @mbg.generated
         */
        public Builder fansNum(Integer fansNum) {
            obj.setFansNum(fansNum);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.likes_num
         *
         * @param likesNum the value for wx_user.likes_num
         *
         * @mbg.generated
         */
        public Builder likesNum(Integer likesNum) {
            obj.setLikesNum(likesNum);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.journal_num
         *
         * @param journalNum the value for wx_user.journal_num
         *
         * @mbg.generated
         */
        public Builder journalNum(Integer journalNum) {
            obj.setJournalNum(journalNum);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.join_exercise_num
         *
         * @param joinExerciseNum the value for wx_user.join_exercise_num
         *
         * @mbg.generated
         */
        public Builder joinExerciseNum(Integer joinExerciseNum) {
            obj.setJoinExerciseNum(joinExerciseNum);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.join_org_num
         *
         * @param joinOrgNum the value for wx_user.join_org_num
         *
         * @mbg.generated
         */
        public Builder joinOrgNum(Integer joinOrgNum) {
            obj.setJoinOrgNum(joinOrgNum);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.email
         *
         * @param email the value for wx_user.email
         *
         * @mbg.generated
         */
        public Builder email(String email) {
            obj.setEmail(email);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.is_h5_register
         *
         * @param isH5Register the value for wx_user.is_h5_register
         *
         * @mbg.generated
         */
        public Builder isH5Register(Boolean isH5Register) {
            obj.setIsH5Register(isH5Register);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.firm
         *
         * @param firm the value for wx_user.firm
         *
         * @mbg.generated
         */
        public Builder firm(String firm) {
            obj.setFirm(firm);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.duty_types_id
         *
         * @param dutyTypesId the value for wx_user.duty_types_id
         *
         * @mbg.generated
         */
        public Builder dutyTypesId(Integer dutyTypesId) {
            obj.setDutyTypesId(dutyTypesId);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.duty_types_name
         *
         * @param dutyTypesName the value for wx_user.duty_types_name
         *
         * @mbg.generated
         */
        public Builder dutyTypesName(String dutyTypesName) {
            obj.setDutyTypesName(dutyTypesName);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.weight
         *
         * @param weight the value for wx_user.weight
         *
         * @mbg.generated
         */
        public Builder weight(Integer weight) {
            obj.setWeight(weight);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.height
         *
         * @param height the value for wx_user.height
         *
         * @mbg.generated
         */
        public Builder height(Integer height) {
            obj.setHeight(height);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.step_size
         *
         * @param stepSize the value for wx_user.step_size
         *
         * @mbg.generated
         */
        public Builder stepSize(Integer stepSize) {
            obj.setStepSize(stepSize);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.is_close_wx_sport
         *
         * @param isCloseWxSport the value for wx_user.is_close_wx_sport
         *
         * @mbg.generated
         */
        public Builder isCloseWxSport(Boolean isCloseWxSport) {
            obj.setIsCloseWxSport(isCloseWxSport);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.is_audit_administrator
         *
         * @param isAuditAdministrator the value for wx_user.is_audit_administrator
         *
         * @mbg.generated
         */
        public Builder isAuditAdministrator(Boolean isAuditAdministrator) {
            obj.setIsAuditAdministrator(isAuditAdministrator);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.add_time
         *
         * @param addTime the value for wx_user.add_time
         *
         * @mbg.generated
         */
        public Builder addTime(LocalDateTime addTime) {
            obj.setAddTime(addTime);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.update_time
         *
         * @param updateTime the value for wx_user.update_time
         *
         * @mbg.generated
         */
        public Builder updateTime(LocalDateTime updateTime) {
            obj.setUpdateTime(updateTime);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method sets the value of the database column wx_user.deleted
         *
         * @param deleted the value for wx_user.deleted
         *
         * @mbg.generated
         */
        public Builder deleted(Boolean deleted) {
            obj.setDeleted(deleted);
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public WxUser build() {
            return this.obj;
        }
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public enum Deleted {
        NOT_DELETED(new Boolean("0"), "未删除"),
        IS_DELETED(new Boolean("1"), "已删除");

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private final Boolean value;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private final String name;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        Deleted(Boolean value, String name) {
            this.value = value;
            this.name = name;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public Boolean getValue() {
            return this.value;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public Boolean value() {
            return this.value;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String getName() {
            return this.name;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public static Deleted parseValue(Boolean value) {
            if (value != null) {
                for (Deleted item : values()) {
                    if (item.value.equals(value)) {
                        return item;
                    }
                }
            }
            return null;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public static Deleted parseName(String name) {
            if (name != null) {
                for (Deleted item : values()) {
                    if (item.name.equals(name)) {
                        return item;
                    }
                }
            }
            return null;
        }
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table wx_user
     *
     * @mbg.generated
     */
    public enum Column {
        id("id", "id", "INTEGER", false),
        username("username", "username", "VARCHAR", false),
        password("password", "password", "VARCHAR", true),
        gender("gender", "gender", "TINYINT", false),
        birthday("birthday", "birthday", "DATE", false),
        lastLoginTime("last_login_time", "lastLoginTime", "TIMESTAMP", false),
        lastLoginIp("last_login_ip", "lastLoginIp", "VARCHAR", false),
        userLevel("user_level", "userLevel", "TINYINT", false),
        nickname("nickname", "nickname", "VARCHAR", false),
        mobile("mobile", "mobile", "VARCHAR", false),
        avatar("avatar", "avatar", "VARCHAR", false),
        weixinOpenid("weixin_openid", "weixinOpenid", "VARCHAR", false),
        status("status", "status", "TINYINT", true),
        scores("scores", "scores", "INTEGER", false),
        isSendScores("is_send_scores", "isSendScores", "INTEGER", false),
        isGy("is_gy", "isGy", "INTEGER", false),
        gyId("gy_id", "gyId", "VARCHAR", false),
        gyProductName("gy_product_name", "gyProductName", "VARCHAR", false),
        school("school", "school", "VARCHAR", false),
        cardId("card_id", "cardId", "VARCHAR", false),
        wxId("wx_id", "wxId", "VARCHAR", false),
        cardTypeId("card_type_id", "cardTypeId", "INTEGER", false),
        cardTypeName("card_type_name", "cardTypeName", "VARCHAR", false),
        fansNum("fans_num", "fansNum", "INTEGER", false),
        likesNum("likes_num", "likesNum", "INTEGER", false),
        journalNum("journal_num", "journalNum", "INTEGER", false),
        joinExerciseNum("join_exercise_num", "joinExerciseNum", "INTEGER", false),
        joinOrgNum("join_org_num", "joinOrgNum", "INTEGER", false),
        email("email", "email", "VARCHAR", false),
        isH5Register("is_h5_register", "isH5Register", "BIT", false),
        firm("firm", "firm", "VARCHAR", false),
        dutyTypesId("duty_types_id", "dutyTypesId", "INTEGER", false),
        dutyTypesName("duty_types_name", "dutyTypesName", "VARCHAR", false),
        weight("weight", "weight", "INTEGER", false),
        height("height", "height", "INTEGER", false),
        stepSize("step_size", "stepSize", "INTEGER", false),
        isCloseWxSport("is_close_wx_sport", "isCloseWxSport", "BIT", false),
        isAuditAdministrator("is_audit_administrator", "isAuditAdministrator", "BIT", false),
        addTime("add_time", "addTime", "TIMESTAMP", false),
        updateTime("update_time", "updateTime", "TIMESTAMP", false),
        deleted("deleted", "deleted", "BIT", false);

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private static final String BEGINNING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private static final String ENDING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private final String column;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private final boolean isColumnNameDelimited;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private final String javaProperty;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        private final String jdbcType;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public static Column[] all() {
            return Column.values();
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table wx_user
         *
         * @mbg.generated
         */
        public String getAliasedEscapedColumnName() {
            return this.getEscapedColumnName();
        }
    }
}