package org.linlinjava.litemall.db.domain;

import java.math.BigDecimal;

public class LitemallBrand {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.id
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.name
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.list_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private String listPicUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.simple_desc
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private String simpleDesc;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private String picUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.sort_order
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private Byte sortOrder;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.is_show
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private Boolean isShow;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.floor_price
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private BigDecimal floorPrice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.app_list_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private String appListPicUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.is_new
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private Boolean isNew;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.new_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private String newPicUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_brand.new_sort_order
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    private Byte newSortOrder;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.id
     *
     * @return the value of litemall_brand.id
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.id
     *
     * @param id the value for litemall_brand.id
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.name
     *
     * @return the value of litemall_brand.name
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.name
     *
     * @param name the value for litemall_brand.name
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.list_pic_url
     *
     * @return the value of litemall_brand.list_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public String getListPicUrl() {
        return listPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.list_pic_url
     *
     * @param listPicUrl the value for litemall_brand.list_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setListPicUrl(String listPicUrl) {
        this.listPicUrl = listPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.simple_desc
     *
     * @return the value of litemall_brand.simple_desc
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public String getSimpleDesc() {
        return simpleDesc;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.simple_desc
     *
     * @param simpleDesc the value for litemall_brand.simple_desc
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setSimpleDesc(String simpleDesc) {
        this.simpleDesc = simpleDesc;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.pic_url
     *
     * @return the value of litemall_brand.pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public String getPicUrl() {
        return picUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.pic_url
     *
     * @param picUrl the value for litemall_brand.pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.sort_order
     *
     * @return the value of litemall_brand.sort_order
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public Byte getSortOrder() {
        return sortOrder;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.sort_order
     *
     * @param sortOrder the value for litemall_brand.sort_order
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setSortOrder(Byte sortOrder) {
        this.sortOrder = sortOrder;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.is_show
     *
     * @return the value of litemall_brand.is_show
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public Boolean getIsShow() {
        return isShow;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.is_show
     *
     * @param isShow the value for litemall_brand.is_show
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.floor_price
     *
     * @return the value of litemall_brand.floor_price
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public BigDecimal getFloorPrice() {
        return floorPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.floor_price
     *
     * @param floorPrice the value for litemall_brand.floor_price
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setFloorPrice(BigDecimal floorPrice) {
        this.floorPrice = floorPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.app_list_pic_url
     *
     * @return the value of litemall_brand.app_list_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public String getAppListPicUrl() {
        return appListPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.app_list_pic_url
     *
     * @param appListPicUrl the value for litemall_brand.app_list_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setAppListPicUrl(String appListPicUrl) {
        this.appListPicUrl = appListPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.is_new
     *
     * @return the value of litemall_brand.is_new
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public Boolean getIsNew() {
        return isNew;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.is_new
     *
     * @param isNew the value for litemall_brand.is_new
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setIsNew(Boolean isNew) {
        this.isNew = isNew;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.new_pic_url
     *
     * @return the value of litemall_brand.new_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public String getNewPicUrl() {
        return newPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.new_pic_url
     *
     * @param newPicUrl the value for litemall_brand.new_pic_url
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setNewPicUrl(String newPicUrl) {
        this.newPicUrl = newPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_brand.new_sort_order
     *
     * @return the value of litemall_brand.new_sort_order
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public Byte getNewSortOrder() {
        return newSortOrder;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_brand.new_sort_order
     *
     * @param newSortOrder the value for litemall_brand.new_sort_order
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    public void setNewSortOrder(Byte newSortOrder) {
        this.newSortOrder = newSortOrder;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_brand
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    @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(", name=").append(name);
        sb.append(", listPicUrl=").append(listPicUrl);
        sb.append(", simpleDesc=").append(simpleDesc);
        sb.append(", picUrl=").append(picUrl);
        sb.append(", sortOrder=").append(sortOrder);
        sb.append(", isShow=").append(isShow);
        sb.append(", floorPrice=").append(floorPrice);
        sb.append(", appListPicUrl=").append(appListPicUrl);
        sb.append(", isNew=").append(isNew);
        sb.append(", newPicUrl=").append(newPicUrl);
        sb.append(", newSortOrder=").append(newSortOrder);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_brand
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LitemallBrand other = (LitemallBrand) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getListPicUrl() == null ? other.getListPicUrl() == null : this.getListPicUrl().equals(other.getListPicUrl()))
            && (this.getSimpleDesc() == null ? other.getSimpleDesc() == null : this.getSimpleDesc().equals(other.getSimpleDesc()))
            && (this.getPicUrl() == null ? other.getPicUrl() == null : this.getPicUrl().equals(other.getPicUrl()))
            && (this.getSortOrder() == null ? other.getSortOrder() == null : this.getSortOrder().equals(other.getSortOrder()))
            && (this.getIsShow() == null ? other.getIsShow() == null : this.getIsShow().equals(other.getIsShow()))
            && (this.getFloorPrice() == null ? other.getFloorPrice() == null : this.getFloorPrice().equals(other.getFloorPrice()))
            && (this.getAppListPicUrl() == null ? other.getAppListPicUrl() == null : this.getAppListPicUrl().equals(other.getAppListPicUrl()))
            && (this.getIsNew() == null ? other.getIsNew() == null : this.getIsNew().equals(other.getIsNew()))
            && (this.getNewPicUrl() == null ? other.getNewPicUrl() == null : this.getNewPicUrl().equals(other.getNewPicUrl()))
            && (this.getNewSortOrder() == null ? other.getNewSortOrder() == null : this.getNewSortOrder().equals(other.getNewSortOrder()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_brand
     *
     * @mbg.generated Tue Mar 20 00:11:33 CST 2018
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getListPicUrl() == null) ? 0 : getListPicUrl().hashCode());
        result = prime * result + ((getSimpleDesc() == null) ? 0 : getSimpleDesc().hashCode());
        result = prime * result + ((getPicUrl() == null) ? 0 : getPicUrl().hashCode());
        result = prime * result + ((getSortOrder() == null) ? 0 : getSortOrder().hashCode());
        result = prime * result + ((getIsShow() == null) ? 0 : getIsShow().hashCode());
        result = prime * result + ((getFloorPrice() == null) ? 0 : getFloorPrice().hashCode());
        result = prime * result + ((getAppListPicUrl() == null) ? 0 : getAppListPicUrl().hashCode());
        result = prime * result + ((getIsNew() == null) ? 0 : getIsNew().hashCode());
        result = prime * result + ((getNewPicUrl() == null) ? 0 : getNewPicUrl().hashCode());
        result = prime * result + ((getNewSortOrder() == null) ? 0 : getNewSortOrder().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table litemall_brand
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public enum Column {
        id("id"),
        name("name"),
        listPicUrl("list_pic_url"),
        simpleDesc("simple_desc"),
        picUrl("pic_url"),
        sortOrder("sort_order"),
        isShow("is_show"),
        floorPrice("floor_price"),
        appListPicUrl("app_list_pic_url"),
        isNew("is_new"),
        newPicUrl("new_pic_url"),
        newSortOrder("new_sort_order");

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_brand
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String column;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_brand
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_brand
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_brand
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        Column(String column) {
            this.column = column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_brand
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String desc() {
            return this.column + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table litemall_brand
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String asc() {
            return this.column + " ASC";
        }
    }
}