package com.uas.platform.b2b.model;

import java.io.Serializable;

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;

/**
 * 角色职位表<br>
 * 
 * @author hejq
 * @time 创建时间：2017年3月4日
 */
@Entity
@Table(name = "office$userposition")
public class UserPosition implements Serializable {

	/**
	 * 序号
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "pos_id")
	private Long id;
	
	/**
	 * 用户uu
	 */
	@Column(name = "pos_useruu")
	private Long useruu;

	/**
	 * 姓名
	 */
	@Column(name = "pos_username")
	private String username;

	/**
	 * 企业uu
	 */
	@Column(name = "pos_enuu")
	private Long enuu;
	
	/**
	 * 企业名称
	 */
	@Column(name = "pos_enname")
	private String enname;

	/**
	 * 部门
	 */
	@Column(name = "pos_department")
	private String department;
	
	/**
	 * 职位
	 */
	@Column(name = "pos_role")
	private String role;



	public Long getId() {
		return id;
	}

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

	public Long getUseruu() {
		return useruu;
	}

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

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getEnuu() {
		return enuu;
	}

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

	public String getEnname() {
		return enname;
	}

	public void setEnname(String enname) {
		this.enname = enname;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

}
