package com.dst.slms.supplierprofile.entity;

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

import org.hibernate.annotations.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.ForeignKey;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import com.dst.slms.common.entity.CoreBaseEntryInfo;
import org.hibernate.annotations.DynamicUpdate;
import com.dst.slms.common.annotation.EntityMeta;
import com.dst.slms.common.annotation.FieldMeta;
import javax.persistence.MappedSuperclass;
/**   
 * @Title: 标签 Info 对象
 * @Description: 标签
 * @author 
 * @date 2020-05-03 11:03:28
 * @version V1.0   
 */
@MappedSuperclass
public class AbstractSupplierLabelInfo  extends CoreBaseEntryInfo implements java.io.Serializable {
	
	/**父对象关联*/
	@OneToOne(fetch = FetchType.LAZY)@JoinColumn(name = "FparentId")@NotFound(action=NotFoundAction.IGNORE)@ForeignKey(name="null")
	@FieldMeta(name="父对象关联" )
	private com.dst.slms.supplierprofile.entity.SupplierProfileInfo parent;
	
	/**标签*/
	@OneToOne(fetch = FetchType.LAZY)@JoinColumn(name = "FsupplierClassificatioID")@NotFound(action=NotFoundAction.IGNORE)@ForeignKey(name="null")
	@FieldMeta(name="标签" )
	private com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo supplierClassificatio;
	
	
	/**
	 *方法: 取得com.dst.slms.supplierprofile.entity.SupplierProfileInfo
	 *@return: com.dst.slms.supplierprofile.entity.SupplierProfileInfo  父对象关联
	 */
	public com.dst.slms.supplierprofile.entity.SupplierProfileInfo getParent(){
		return this.parent;
	}

	/**
	 *方法: 设置com.dst.slms.supplierprofile.entity.SupplierProfileInfo
	 *@param: com.dst.slms.supplierprofile.entity.SupplierProfileInfo  父对象关联
	 */
	public void setParent(com.dst.slms.supplierprofile.entity.SupplierProfileInfo parent){
		this.parent = parent;
	}
	
	/**
	 *方法: 取得com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo
	 *@return: com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo  标签
	 */
	public com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo getSupplierClassificatio(){
		return this.supplierClassificatio;
	}

	/**
	 *方法: 设置com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo
	 *@param: com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo  标签
	 */
	public void setSupplierClassificatio(com.dst.slms.supplierprofile.entity.SupplierClassificatioInfo supplierClassificatio){
		this.supplierClassificatio = supplierClassificatio;
	}
		
	@Override
	public void setBosType(String bosType) {
		this.bosType = "9KO2WOM2";
	}
}
