package com.dacrt.SBIABackend.security.entity;

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 = "opcion_debia",schema = "original_data")
public class OpcionDeBIA {
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", length = 20)
    private Long id;
	@Column(name = "opcion", length = 200,nullable = false, unique=true)
    private String opcion;
	
	public OpcionDeBIA() {
		super();
		// TODO Auto-generated constructor stub
	}

	public OpcionDeBIA(String opcion) {
		super();
		this.opcion = opcion;
	}

	public Long getId() {
		return id;
	}

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

	public String getOpcion() {
		return opcion;
	}

	public void setOpcion(String opcion) {
		this.opcion = opcion;
	}

}
