Attribute.java

58 lines | 1.136 kB Blame History Raw Download
package com.salesmanager.web.shop.model.catalog;

import java.io.Serializable;
import java.util.List;

import com.salesmanager.web.entity.ShopEntity;

public class Attribute extends ShopEntity implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name = null;
	private String type = null;
	private String code = null;
	private List<AttributeValue> values = null;
	private AttributeValue readOnlyValue = null;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	


	public void setValues(List<AttributeValue> values) {
		this.values = values;
	}
	public List<AttributeValue> getValues() {
		return values;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCode() {
		return code;
	}
	public void setReadOnlyValue(AttributeValue readOnlyValue) {
		this.readOnlyValue = readOnlyValue;
	}
	public AttributeValue getReadOnlyValue() {
		return readOnlyValue;
	}



	

}