package com.reptileclient.jlifeapp.entity.jz;

import java.time.LocalDateTime;

public class JzShop {

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

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

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

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

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


    private String shopCityName;

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

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column jz_shop.create_time
     *
     * @mbg.generated
     */
    private LocalDateTime createTime;

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jz_shop.id
     *
     * @param id the value for jz_shop.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 jz_shop.shop_no
     *
     * @return the value of jz_shop.shop_no
     *
     * @mbg.generated
     */
    public String getShopNo() {
        return shopNo;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.shop_name
     *
     * @return the value of jz_shop.shop_name
     *
     * @mbg.generated
     */
    public String getShopName() {
        return shopName;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.shop_channel
     *
     * @return the value of jz_shop.shop_channel
     *
     * @mbg.generated
     */
    public Integer getShopChannel() {
        return shopChannel;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.shop_city
     *
     * @return the value of jz_shop.shop_city
     *
     * @mbg.generated
     */
    public Integer getShopCity() {
        return shopCity;
    }

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


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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.create_time
     *
     * @return the value of jz_shop.create_time
     *
     * @mbg.generated
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column jz_shop.create_time
     *
     * @param createTime the value for jz_shop.create_time
     *
     * @mbg.generated
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.create_user
     *
     * @return the value of jz_shop.create_user
     *
     * @mbg.generated
     */
    public Integer getCreateUser() {
        return createUser;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.update_time
     *
     * @return the value of jz_shop.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 jz_shop.update_time
     *
     * @param updateTime the value for jz_shop.update_time
     *
     * @mbg.generated
     */
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column jz_shop.update_user
     *
     * @return the value of jz_shop.update_user
     *
     * @mbg.generated
     */
    public Integer getUpdateUser() {
        return updateUser;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_shop
     *
     * @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(", shopNo=").append(shopNo);
        sb.append(", shopName=").append(shopName);
        sb.append(", shopChannel=").append(shopChannel);
        sb.append(", shopCity=").append(shopCity);
        sb.append(", deleted=").append(deleted);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUser=").append(createUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", updateUser=").append(updateUser);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_shop
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        JzShop other = (JzShop) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getShopNo() == null ? other.getShopNo() == null : this.getShopNo().equals(other.getShopNo()))
            && (this.getShopName() == null ? other.getShopName() == null : this.getShopName().equals(other.getShopName()))
            && (this.getShopChannel() == null ? other.getShopChannel() == null : this.getShopChannel().equals(other.getShopChannel()))
            && (this.getShopCity() == null ? other.getShopCity() == null : this.getShopCity().equals(other.getShopCity()))
            && (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_shop
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getShopNo() == null) ? 0 : getShopNo().hashCode());
        result = prime * result + ((getShopName() == null) ? 0 : getShopName().hashCode());
        result = prime * result + ((getShopChannel() == null) ? 0 : getShopChannel().hashCode());
        result = prime * result + ((getShopCity() == null) ? 0 : getShopCity().hashCode());
        result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
        return result;
    }

    public String getShopCityName() {
        return shopCityName;
    }

    public void setShopCityName(String shopCityName) {
        this.shopCityName = shopCityName;
    }
}