package com.uas.platform.b2b.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 代采企业设置
 * 
 * @author hejq
 * @time 创建时间：2017年4月11日
 */
@Entity
@Table(name = "purc$deputyenterprise")
public class DeputyEnterprise implements Serializable {

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

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

	/**
	 * 企业uu
	 */
	@Column(name = "de_enuu")
	private Long enuu;

	/**
	 * 代采企业uu
	 */
	@Column(name = "de_deputyenuu")
	private Long deputyenuu;
	
	/**
	 * 代采企业名称（和上面uu号无关，这个是名称传输，uu号是传到指定的账套）
	 */
	@Column(name = "de_deputyenname")
	private String deputyenname;

	/**
	 * 设置人uu
	 */
	@Column(name = "de_useruu")
	private Long useruu;

	/**
	 * 设置日期
	 */
	@Column(name = "de_date")
	private Date date;

	public Long getId() {
		return id;
	}

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

	public Long getEnuu() {
		return enuu;
	}

	public void setEnuu(Long enuu) {
		this.enuu = enuu;
	}

	public Long getDeputyenuu() {
		return deputyenuu;
	}

	public void setDeputyenuu(Long deputyenuu) {
		this.deputyenuu = deputyenuu;
	}

	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;
	}

	public String getDeputyenname() {
		return deputyenname;
	}

	public void setDeputyenname(String deputyenname) {
		this.deputyenname = deputyenname;
	}

}
