package com.pas.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.Table;

/**
 * The persistent class for the user_app_type database table.
 * 
 */
@Entity
@Table(name="user_app_type")
public class UserType implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "id")
	private Integer id;

	@Column(name = "description", nullable=false, length=100)
	private String description;

	@Column(name="type_permision", nullable=false, length=1)
	private String typePermision;

	@Column(name = "type_user_app", unique = true, nullable=false, length=50)
	private String typeUserApp;

	public UserType() {
	}

	public Integer getId() {
		return this.id;
	}

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

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getTypePermision() {
		return this.typePermision;
	}

	public void setTypePermision(String typePermision) {
		this.typePermision = typePermision;
	}

	public String getTypeUserApp() {
		return this.typeUserApp;
	}

	public void setTypeUserApp(String typeUserApp) {
		this.typeUserApp = typeUserApp;
	}
}