package com.microstar.tap3.db;
// Generated Jun 12, 2017 8:29:18 AM by Hibernate Tools 4.3.1.Final

import org.hibernate.annotations.GenericGenerator;
import javax.persistence.GeneratedValue;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * CustomerType generated by hbm2java
 */
@Entity
@Table(name = "CustomerType")
public class CustomerType implements java.io.Serializable
{

	private String	id;
	private String	shortName;
	private String	description;
	private boolean	typeOfBrewer;
	private boolean	typeOfDistributor;
	private String	dynamicsCustClass;

	public CustomerType()
	{
	}

	public CustomerType(String id, String shortName, String description, boolean typeOfBrewer,
			boolean typeOfDistributor, String dynamicsCustClass)
	{
		this.id = id;
		this.shortName = shortName;
		this.description = description;
		this.typeOfBrewer = typeOfBrewer;
		this.typeOfDistributor = typeOfDistributor;
		this.dynamicsCustClass = dynamicsCustClass;
	}

	@Id @GeneratedValue(generator = "uuid") @GenericGenerator(name = "uuid", strategy = "uuid2")

	@Column(name = "id", unique = true, nullable = false, length = 36)
	public String getId()
	{
		return this.id;
	}

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

	@Column(name = "ShortName", nullable = false, length = 20)
	public String getShortName()
	{
		return this.shortName;
	}

	public void setShortName(String shortName)
	{
		this.shortName = shortName;
	}

	@Column(name = "Description", nullable = false, length = 100)
	public String getDescription()
	{
		return this.description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	@Column(name = "TypeOfBrewer", nullable = false)
	public boolean isTypeOfBrewer()
	{
		return this.typeOfBrewer;
	}

	public void setTypeOfBrewer(boolean typeOfBrewer)
	{
		this.typeOfBrewer = typeOfBrewer;
	}

	@Column(name = "TypeOfDistributor", nullable = false)
	public boolean isTypeOfDistributor()
	{
		return this.typeOfDistributor;
	}

	public void setTypeOfDistributor(boolean typeOfDistributor)
	{
		this.typeOfDistributor = typeOfDistributor;
	}

	@Column(name = "DynamicsCustClass", nullable = false, length = 16)
	public String getDynamicsCustClass()
	{
		return this.dynamicsCustClass;
	}

	public void setDynamicsCustClass(String dynamicsCustClass)
	{
		this.dynamicsCustClass = dynamicsCustClass;
	}

}
