package sicura.entities;
// Generated 2-lug-2017 12.20.06 by Hibernate Tools 5.2.3.Final

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * LogDistintaBanca generated by hbm2java
 */
@Entity
@Table(name = "LogDistintaBanca", schema = "dbo")
public class LogDistintaBanca implements java.io.Serializable {

	private Integer id;
	private Integer iddistintaBanca;
	private String userId;
	private String utente;
	private Date data;
	private Date ora;
	private String campoPostModifica;

	public LogDistintaBanca() {
	}

	public LogDistintaBanca(Integer iddistintaBanca, String userId, String utente, Date data, Date ora,
			String campoPostModifica) {
		this.iddistintaBanca = iddistintaBanca;
		this.userId = userId;
		this.utente = utente;
		this.data = data;
		this.ora = ora;
		this.campoPostModifica = campoPostModifica;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)

	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

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

	@Column(name = "IDDistintaBanca")
	public Integer getIddistintaBanca() {
		return this.iddistintaBanca;
	}

	public void setIddistintaBanca(Integer iddistintaBanca) {
		this.iddistintaBanca = iddistintaBanca;
	}

	@Column(name = "UserID", length = 10)
	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	@Column(name = "Utente", length = 50)
	public String getUtente() {
		return this.utente;
	}

	public void setUtente(String utente) {
		this.utente = utente;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "Data", length = 23)
	public Date getData() {
		return this.data;
	}

	public void setData(Date data) {
		this.data = data;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "Ora", length = 23)
	public Date getOra() {
		return this.ora;
	}

	public void setOra(Date ora) {
		this.ora = ora;
	}

	@Column(name = "CampoPostModifica", length = 50)
	public String getCampoPostModifica() {
		return this.campoPostModifica;
	}

	public void setCampoPostModifica(String campoPostModifica) {
		this.campoPostModifica = campoPostModifica;
	}

}
