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

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

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

	private VdelegatoFirmaEstrattoreDistinteId id;

	public VdelegatoFirmaEstrattoreDistinte() {
	}

	public VdelegatoFirmaEstrattoreDistinte(VdelegatoFirmaEstrattoreDistinteId id) {
		this.id = id;
	}

	@EmbeddedId

	@AttributeOverrides({
			@AttributeOverride(name = "abilitaDelegatoFirmaEstrattoreDistinte", column = @Column(name = "AbilitaDelegatoFirmaEstrattoreDistinte", nullable = false)),
			@AttributeOverride(name = "denominazione", column = @Column(name = "Denominazione", length = 50)),
			@AttributeOverride(name = "funzioneOrdinante", column = @Column(name = "FunzioneOrdinante", length = 10)),
			@AttributeOverride(name = "importoLimiteFirma", column = @Column(name = "ImportoLimiteFirma", precision = 53, scale = 0)),
			@AttributeOverride(name = "id", column = @Column(name = "ID", nullable = false)),
			@AttributeOverride(name = "dbgridSelect", column = @Column(name = "DBGridSelect", nullable = false)),
			@AttributeOverride(name = "emailResponsabile", column = @Column(name = "EMailResponsabile", length = 50)),
			@AttributeOverride(name = "userId", column = @Column(name = "UserID", length = 10)) })
	public VdelegatoFirmaEstrattoreDistinteId getId() {
		return this.id;
	}

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

}
