package org.linlinjava.litemall.db.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Arrays;

public class LitemallGoods {
    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Integer id;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.goods_sn
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String goodsSn;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.name
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String name;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.category_id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Integer categoryId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.brand_id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Integer brandId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.gallery
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String[] gallery;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.keywords
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String keywords;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.goods_brief
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String goodsBrief;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.is_on_sale
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Boolean isOnSale;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.sort_order
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Short sortOrder;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.counter_price
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private BigDecimal counterPrice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.is_new
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Boolean isNew;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.primary_pic_url
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String primaryPicUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.list_pic_url
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String listPicUrl;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.is_hot
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Boolean isHot;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.goods_unit
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String goodsUnit;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.retail_price
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private BigDecimal retailPrice;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.add_time
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private LocalDateTime addTime;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.deleted
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private Boolean deleted;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column litemall_goods.goods_desc
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    private String goodsDesc;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.id
     *
     * @return the value of litemall_goods.id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.id
     *
     * @param id the value for litemall_goods.id
     *
     * @mbg.generated Fri Apr 06 22:55:36 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_goods.goods_sn
     *
     * @return the value of litemall_goods.goods_sn
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getGoodsSn() {
        return goodsSn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.goods_sn
     *
     * @param goodsSn the value for litemall_goods.goods_sn
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setGoodsSn(String goodsSn) {
        this.goodsSn = goodsSn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.name
     *
     * @return the value of litemall_goods.name
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.name
     *
     * @param name the value for litemall_goods.name
     *
     * @mbg.generated Fri Apr 06 22:55:36 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_goods.category_id
     *
     * @return the value of litemall_goods.category_id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Integer getCategoryId() {
        return categoryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.category_id
     *
     * @param categoryId the value for litemall_goods.category_id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.brand_id
     *
     * @return the value of litemall_goods.brand_id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Integer getBrandId() {
        return brandId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.brand_id
     *
     * @param brandId the value for litemall_goods.brand_id
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.gallery
     *
     * @return the value of litemall_goods.gallery
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String[] getGallery() {
        return gallery;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.gallery
     *
     * @param gallery the value for litemall_goods.gallery
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setGallery(String[] gallery) {
        this.gallery = gallery;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.keywords
     *
     * @return the value of litemall_goods.keywords
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getKeywords() {
        return keywords;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.keywords
     *
     * @param keywords the value for litemall_goods.keywords
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.goods_brief
     *
     * @return the value of litemall_goods.goods_brief
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getGoodsBrief() {
        return goodsBrief;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.goods_brief
     *
     * @param goodsBrief the value for litemall_goods.goods_brief
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setGoodsBrief(String goodsBrief) {
        this.goodsBrief = goodsBrief;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.is_on_sale
     *
     * @return the value of litemall_goods.is_on_sale
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Boolean getIsOnSale() {
        return isOnSale;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.is_on_sale
     *
     * @param isOnSale the value for litemall_goods.is_on_sale
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setIsOnSale(Boolean isOnSale) {
        this.isOnSale = isOnSale;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.sort_order
     *
     * @return the value of litemall_goods.sort_order
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Short getSortOrder() {
        return sortOrder;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.sort_order
     *
     * @param sortOrder the value for litemall_goods.sort_order
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setSortOrder(Short sortOrder) {
        this.sortOrder = sortOrder;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.counter_price
     *
     * @return the value of litemall_goods.counter_price
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public BigDecimal getCounterPrice() {
        return counterPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.counter_price
     *
     * @param counterPrice the value for litemall_goods.counter_price
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setCounterPrice(BigDecimal counterPrice) {
        this.counterPrice = counterPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.is_new
     *
     * @return the value of litemall_goods.is_new
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Boolean getIsNew() {
        return isNew;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.is_new
     *
     * @param isNew the value for litemall_goods.is_new
     *
     * @mbg.generated Fri Apr 06 22:55:36 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_goods.primary_pic_url
     *
     * @return the value of litemall_goods.primary_pic_url
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getPrimaryPicUrl() {
        return primaryPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.primary_pic_url
     *
     * @param primaryPicUrl the value for litemall_goods.primary_pic_url
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setPrimaryPicUrl(String primaryPicUrl) {
        this.primaryPicUrl = primaryPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.list_pic_url
     *
     * @return the value of litemall_goods.list_pic_url
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getListPicUrl() {
        return listPicUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.list_pic_url
     *
     * @param listPicUrl the value for litemall_goods.list_pic_url
     *
     * @mbg.generated Fri Apr 06 22:55:36 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_goods.is_hot
     *
     * @return the value of litemall_goods.is_hot
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Boolean getIsHot() {
        return isHot;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.is_hot
     *
     * @param isHot the value for litemall_goods.is_hot
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setIsHot(Boolean isHot) {
        this.isHot = isHot;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.goods_unit
     *
     * @return the value of litemall_goods.goods_unit
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getGoodsUnit() {
        return goodsUnit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.goods_unit
     *
     * @param goodsUnit the value for litemall_goods.goods_unit
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.retail_price
     *
     * @return the value of litemall_goods.retail_price
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.retail_price
     *
     * @param retailPrice the value for litemall_goods.retail_price
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.add_time
     *
     * @return the value of litemall_goods.add_time
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public LocalDateTime getAddTime() {
        return addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.add_time
     *
     * @param addTime the value for litemall_goods.add_time
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.deleted
     *
     * @return the value of litemall_goods.deleted
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public Boolean getDeleted() {
        return deleted;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.deleted
     *
     * @param deleted the value for litemall_goods.deleted
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column litemall_goods.goods_desc
     *
     * @return the value of litemall_goods.goods_desc
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public String getGoodsDesc() {
        return goodsDesc;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column litemall_goods.goods_desc
     *
     * @param goodsDesc the value for litemall_goods.goods_desc
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_goods
     *
     * @mbg.generated Fri Apr 06 22:55:36 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(", goodsSn=").append(goodsSn);
        sb.append(", name=").append(name);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", brandId=").append(brandId);
        sb.append(", gallery=").append(gallery);
        sb.append(", keywords=").append(keywords);
        sb.append(", goodsBrief=").append(goodsBrief);
        sb.append(", isOnSale=").append(isOnSale);
        sb.append(", sortOrder=").append(sortOrder);
        sb.append(", counterPrice=").append(counterPrice);
        sb.append(", isNew=").append(isNew);
        sb.append(", primaryPicUrl=").append(primaryPicUrl);
        sb.append(", listPicUrl=").append(listPicUrl);
        sb.append(", isHot=").append(isHot);
        sb.append(", goodsUnit=").append(goodsUnit);
        sb.append(", retailPrice=").append(retailPrice);
        sb.append(", addTime=").append(addTime);
        sb.append(", deleted=").append(deleted);
        sb.append(", goodsDesc=").append(goodsDesc);
        sb.append("]");
        return sb.toString();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_goods
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        LitemallGoods other = (LitemallGoods) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getGoodsSn() == null ? other.getGoodsSn() == null : this.getGoodsSn().equals(other.getGoodsSn()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getCategoryId() == null ? other.getCategoryId() == null : this.getCategoryId().equals(other.getCategoryId()))
            && (this.getBrandId() == null ? other.getBrandId() == null : this.getBrandId().equals(other.getBrandId()))
            && (Arrays.equals(this.getGallery(), other.getGallery()))
            && (this.getKeywords() == null ? other.getKeywords() == null : this.getKeywords().equals(other.getKeywords()))
            && (this.getGoodsBrief() == null ? other.getGoodsBrief() == null : this.getGoodsBrief().equals(other.getGoodsBrief()))
            && (this.getIsOnSale() == null ? other.getIsOnSale() == null : this.getIsOnSale().equals(other.getIsOnSale()))
            && (this.getSortOrder() == null ? other.getSortOrder() == null : this.getSortOrder().equals(other.getSortOrder()))
            && (this.getCounterPrice() == null ? other.getCounterPrice() == null : this.getCounterPrice().equals(other.getCounterPrice()))
            && (this.getIsNew() == null ? other.getIsNew() == null : this.getIsNew().equals(other.getIsNew()))
            && (this.getPrimaryPicUrl() == null ? other.getPrimaryPicUrl() == null : this.getPrimaryPicUrl().equals(other.getPrimaryPicUrl()))
            && (this.getListPicUrl() == null ? other.getListPicUrl() == null : this.getListPicUrl().equals(other.getListPicUrl()))
            && (this.getIsHot() == null ? other.getIsHot() == null : this.getIsHot().equals(other.getIsHot()))
            && (this.getGoodsUnit() == null ? other.getGoodsUnit() == null : this.getGoodsUnit().equals(other.getGoodsUnit()))
            && (this.getRetailPrice() == null ? other.getRetailPrice() == null : this.getRetailPrice().equals(other.getRetailPrice()))
            && (this.getAddTime() == null ? other.getAddTime() == null : this.getAddTime().equals(other.getAddTime()))
            && (this.getDeleted() == null ? other.getDeleted() == null : this.getDeleted().equals(other.getDeleted()))
            && (this.getGoodsDesc() == null ? other.getGoodsDesc() == null : this.getGoodsDesc().equals(other.getGoodsDesc()));
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table litemall_goods
     *
     * @mbg.generated Fri Apr 06 22:55:36 CST 2018
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getGoodsSn() == null) ? 0 : getGoodsSn().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getCategoryId() == null) ? 0 : getCategoryId().hashCode());
        result = prime * result + ((getBrandId() == null) ? 0 : getBrandId().hashCode());
        result = prime * result + (Arrays.hashCode(getGallery()));
        result = prime * result + ((getKeywords() == null) ? 0 : getKeywords().hashCode());
        result = prime * result + ((getGoodsBrief() == null) ? 0 : getGoodsBrief().hashCode());
        result = prime * result + ((getIsOnSale() == null) ? 0 : getIsOnSale().hashCode());
        result = prime * result + ((getSortOrder() == null) ? 0 : getSortOrder().hashCode());
        result = prime * result + ((getCounterPrice() == null) ? 0 : getCounterPrice().hashCode());
        result = prime * result + ((getIsNew() == null) ? 0 : getIsNew().hashCode());
        result = prime * result + ((getPrimaryPicUrl() == null) ? 0 : getPrimaryPicUrl().hashCode());
        result = prime * result + ((getListPicUrl() == null) ? 0 : getListPicUrl().hashCode());
        result = prime * result + ((getIsHot() == null) ? 0 : getIsHot().hashCode());
        result = prime * result + ((getGoodsUnit() == null) ? 0 : getGoodsUnit().hashCode());
        result = prime * result + ((getRetailPrice() == null) ? 0 : getRetailPrice().hashCode());
        result = prime * result + ((getAddTime() == null) ? 0 : getAddTime().hashCode());
        result = prime * result + ((getDeleted() == null) ? 0 : getDeleted().hashCode());
        result = prime * result + ((getGoodsDesc() == null) ? 0 : getGoodsDesc().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table litemall_goods
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public enum Column {
        id("id"),
        goodsSn("goods_sn"),
        name("name"),
        categoryId("category_id"),
        brandId("brand_id"),
        gallery("gallery"),
        keywords("keywords"),
        goodsBrief("goods_brief"),
        isOnSale("is_on_sale"),
        sortOrder("sort_order"),
        counterPrice("counter_price"),
        isNew("is_new"),
        primaryPicUrl("primary_pic_url"),
        listPicUrl("list_pic_url"),
        isHot("is_hot"),
        goodsUnit("goods_unit"),
        retailPrice("retail_price"),
        addTime("add_time"),
        deleted("deleted"),
        goodsDesc("goods_desc");

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table litemall_goods
         *
         * @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_goods
         *
         * @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_goods
         *
         * @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_goods
         *
         * @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_goods
         *
         * @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_goods
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String asc() {
            return this.column + " ASC";
        }
    }
}