All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jblv.shop.domain.StoreSpec Maven / Gradle / Ivy

The newest version!
package com.jblv.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jblv.common.annotation.Excel;
import com.jblv.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 商品规格(独立)对象 store_spec
 * 
 * @author yangtao
 * @date 2019-08-25
 */
public class StoreSpec extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格表 */
    private Long id;

    /** 规格类型 */
    @Excel(name = "规格类型")
    private Long typeId;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String name;

    private String specItem;

    /** 排序 */
    private Long sort;

    /** 是否需要检索:1是,0否 */
    private Integer searchIndex;

    private List storeSpecItems;

    public List getStoreSpecItems() {
        return storeSpecItems;
    }

    public void setStoreSpecItems(List storeSpecItems) {
        this.storeSpecItems = storeSpecItems;
    }

    public String getSpecItem() {
        return specItem;
    }

    public void setSpecItem(String specItem) {
        this.specItem = specItem;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setSearchIndex(Integer searchIndex) 
    {
        this.searchIndex = searchIndex;
    }

    public Integer getSearchIndex() 
    {
        return searchIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeId", getTypeId())
            .append("name", getName())
            .append("specItem", getSpecItem())
            .append("sort", getSort())
            .append("searchIndex", getSearchIndex())
            .toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy