package com.uas.platform.b2b.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 供应商联系人
 * 
 * @author hejq
 * @time 创建时间：2017年4月1日
 */
@Entity
@Table(name = "purc$vendorcontact")
public class VendorContact implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "vec_id")
	private Long id;

	/**
	 * 客户uu(当前企业uu)
	 */
	@Column(name = "vec_myenuu")
	private Long myenuu;

	/**
	 * 供应商uu
	 */
	@Column(name = "vec_venduu")
	private Long venduu;
	
	/**
	 * 联系人
	 */
	@Column(name = "vec_venduser")
	private String venduser;

	/**
	 * 性别
	 */
	@Column(name = "vec_sex")
	private String sex;

	/**
	 * 职位
	 */
	@Column(name = "vec_position")
	private String position;

	/**
	 * 电话
	 */
	@Column(name = "vec_tel")
	private String tel;

	/**
	 * 电话
	 */
	@Column(name = "vec_phone")
	private String phone;

	/**
	 * email
	 */
	@Column(name = "vec_email")
	private String email;
	
	/**
	 * 设置人uu
	 */
	@Column(name = "vec_useruu")
	private Long useruu;
	
	/**
	 * 设置时间
	 */
	@Column(name = "vec_date")
	private Date date;

	public Long getId() {
		return id;
	}

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

	public Long getMyenuu() {
		return myenuu;
	}

	public void setMyenuu(Long myenuu) {
		this.myenuu = myenuu;
	}

	public Long getVenduu() {
		return venduu;
	}

	public void setVenduu(Long venduu) {
		this.venduu = venduu;
	}

	public String getVenduser() {
		return venduser;
	}

	public void setVenduser(String venduser) {
		this.venduser = venduser;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Long getUseruu() {
		return useruu;
	}

	public void setUseruu(Long useruu) {
		this.useruu = useruu;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

}
