com.jblv.shop.domain.StoreSpecItem 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;
/**
* 规格项对象 store_spec_item
*
* @author yangtao
* @date 2019-08-25
*/
public class StoreSpecItem extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 规格项id */
private Long id;
/** 规格id */
@Excel(name = "规格id")
private Long specId;
/** 规格项 */
@Excel(name = "规格项")
private String item;
private Boolean selected;
public Boolean getSelected() {
return selected;
}
public void setSelected(Boolean selected) {
this.selected = selected;
}
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setSpecId(Long specId)
{
this.specId = specId;
}
public Long getSpecId()
{
return specId;
}
public void setItem(String item)
{
this.item = item;
}
public String getItem()
{
return item;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("specId", getSpecId())
.append("item", getItem())
.toString();
}
}