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.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

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

	private String saltValue;
	private Date dataCreazione;

	public SecuritySalt() {
	}

	public SecuritySalt(String saltValue, Date dataCreazione) {
		this.saltValue = saltValue;
		this.dataCreazione = dataCreazione;
	}

	@Id

	@Column(name = "SaltValue", unique = true, nullable = false)
	public String getSaltValue() {
		return this.saltValue;
	}

	public void setSaltValue(String saltValue) {
		this.saltValue = saltValue;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DataCreazione", nullable = false, length = 23)
	public Date getDataCreazione() {
		return this.dataCreazione;
	}

	public void setDataCreazione(Date dataCreazione) {
		this.dataCreazione = dataCreazione;
	}

}
