
package com.jasamedika.medifirst2000.entities;

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.Table;

@Entity
@Table(name="RIS_User")
public class RIS_User implements Serializable {

	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "public.ris_user_id_seq")
	@javax.persistence.SequenceGenerator(name = "public.ris_user_id_seq", sequenceName = "public.ris_user_id_seq", allocationSize = 1)
	@Column(name = "USER_KEY")
	private Integer USER_KEY;
	
	@Column(name = "CREATE_DATE", length=14, nullable=false)
	private String CREATE_DATE;
	
	@Column(name = "FLAG", length=14, nullable=false)
	private String FLAG;
	
	@Column(name = "USER_ID", length=64, nullable=false)
	private String USER_ID;
	
	@Column(name = "PASSWORD", length=2048, nullable=false)
	private String PASSWORD;
	
	@Column(name = "USER_NAME", length=128, nullable=false)
	private String USER_NAME;
	
	@Column(name = "LAST_NAME", length=32, nullable=true)
	private String LAST_NAME;
	
	@Column(name = "FIRST_NAME", length=32, nullable=true)
	private String FIRST_NAME;
	
	@Column(name = "MIDDLE_NAME", length=32, nullable=true)
	private String MIDDLE_NAME;
	
	@Column(name = "EMAIL", length=64, nullable=true)
	private String EMAIL;
	
	@Column(name = "PHONE_NO", length=32, nullable=true)
	private String PHONE_NO;
	
	@Column(name = "USER_UID", length=32, nullable=true)
	private String USER_UID;
	
	@Column(name = "GRADE", length=16, nullable=true)
	private String GRADE;
	
	@Column(name = "DEPARTMENT_CODE", length=16, nullable=true)
	private String DEPARTMENT_CODE;
	
	@Column(name = "USER_STAT", length=1, nullable=false)
	private String USER_STAT;
	
	@Column(name = "EXTENSION1", length=1024, nullable=true)
	private String EXTENSION1;
	
	@Column(name = "EXTENSION2", length=1024, nullable=true)
	private String EXTENSION2;
	
	@Column(name = "EXTENSION3", length=1024, nullable=true)
	private String EXTENSION3;

	public Integer getUSER_KEY() {
		return USER_KEY;
	}

	public void setUSER_KEY(Integer uSER_KEY) {
		USER_KEY = uSER_KEY;
	}

	public String getCREATE_DATE() {
		return CREATE_DATE;
	}

	public void setCREATE_DATE(String cREATE_DATE) {
		CREATE_DATE = cREATE_DATE;
	}

	public String getFLAG() {
		return FLAG;
	}

	public void setFLAG(String fLAG) {
		FLAG = fLAG;
	}

	public String getUSER_ID() {
		return USER_ID;
	}

	public void setUSER_ID(String uSER_ID) {
		USER_ID = uSER_ID;
	}

	public String getPASSWORD() {
		return PASSWORD;
	}

	public void setPASSWORD(String pASSWORD) {
		PASSWORD = pASSWORD;
	}

	public String getUSER_NAME() {
		return USER_NAME;
	}

	public void setUSER_NAME(String uSER_NAME) {
		USER_NAME = uSER_NAME;
	}

	public String getLAST_NAME() {
		return LAST_NAME;
	}

	public void setLAST_NAME(String lAST_NAME) {
		LAST_NAME = lAST_NAME;
	}

	public String getFIRST_NAME() {
		return FIRST_NAME;
	}

	public void setFIRST_NAME(String fIRST_NAME) {
		FIRST_NAME = fIRST_NAME;
	}

	public String getMIDDLE_NAME() {
		return MIDDLE_NAME;
	}

	public void setMIDDLE_NAME(String mIDDLE_NAME) {
		MIDDLE_NAME = mIDDLE_NAME;
	}

	public String getEMAIL() {
		return EMAIL;
	}

	public void setEMAIL(String eMAIL) {
		EMAIL = eMAIL;
	}

	public String getPHONE_NO() {
		return PHONE_NO;
	}

	public void setPHONE_NO(String pHONE_NO) {
		PHONE_NO = pHONE_NO;
	}

	public String getUSER_UID() {
		return USER_UID;
	}

	public void setUSER_UID(String uSER_UID) {
		USER_UID = uSER_UID;
	}

	public String getGRADE() {
		return GRADE;
	}

	public void setGRADE(String gRADE) {
		GRADE = gRADE;
	}

	public String getDEPARTMENT_CODE() {
		return DEPARTMENT_CODE;
	}

	public void setDEPARTMENT_CODE(String dEPARTMENT_CODE) {
		DEPARTMENT_CODE = dEPARTMENT_CODE;
	}

	public String getUSER_STAT() {
		return USER_STAT;
	}

	public void setUSER_STAT(String uSER_STAT) {
		USER_STAT = uSER_STAT;
	}

	public String getEXTENSION1() {
		return EXTENSION1;
	}

	public void setEXTENSION1(String eXTENSION1) {
		EXTENSION1 = eXTENSION1;
	}

	public String getEXTENSION2() {
		return EXTENSION2;
	}

	public void setEXTENSION2(String eXTENSION2) {
		EXTENSION2 = eXTENSION2;
	}

	public String getEXTENSION3() {
		return EXTENSION3;
	}

	public void setEXTENSION3(String eXTENSION3) {
		EXTENSION3 = eXTENSION3;
	}
	
}
