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;

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

	private Integer id;
	private String denominazione;
	private boolean enabled;
	private boolean scheduledDay1;
	private boolean scheduledDay2;
	private boolean scheduledDay3;
	private boolean scheduledDay4;
	private boolean scheduledDay5;
	private boolean scheduledDay6;
	private boolean scheduledDay7;
	private Date startTime;
	private String statoDisposizioneDaEstrarre;
	private Date cutOffDataCreazioneDisposizione;
	private Integer statusLastExecution;
	private Date lastExecution;
	private Integer idcontoDefault1;
	private Integer idcontoDefault2;
	private byte[] lastSaved;
	private boolean usedByService;
	private String abiordinante;
	private boolean usaTipoSequenzaRid;

	public PianiEstrazioneDistinteBanca() {
	}

	public PianiEstrazioneDistinteBanca(boolean enabled, boolean scheduledDay1, boolean scheduledDay2,
			boolean scheduledDay3, boolean scheduledDay4, boolean scheduledDay5, boolean scheduledDay6,
			boolean scheduledDay7, boolean usedByService, boolean usaTipoSequenzaRid) {
		this.enabled = enabled;
		this.scheduledDay1 = scheduledDay1;
		this.scheduledDay2 = scheduledDay2;
		this.scheduledDay3 = scheduledDay3;
		this.scheduledDay4 = scheduledDay4;
		this.scheduledDay5 = scheduledDay5;
		this.scheduledDay6 = scheduledDay6;
		this.scheduledDay7 = scheduledDay7;
		this.usedByService = usedByService;
		this.usaTipoSequenzaRid = usaTipoSequenzaRid;
	}

	public PianiEstrazioneDistinteBanca(String denominazione, boolean enabled, boolean scheduledDay1,
			boolean scheduledDay2, boolean scheduledDay3, boolean scheduledDay4, boolean scheduledDay5,
			boolean scheduledDay6, boolean scheduledDay7, Date startTime, String statoDisposizioneDaEstrarre,
			Date cutOffDataCreazioneDisposizione, Integer statusLastExecution, Date lastExecution,
			Integer idcontoDefault1, Integer idcontoDefault2, byte[] lastSaved, boolean usedByService,
			String abiordinante, boolean usaTipoSequenzaRid) {
		this.denominazione = denominazione;
		this.enabled = enabled;
		this.scheduledDay1 = scheduledDay1;
		this.scheduledDay2 = scheduledDay2;
		this.scheduledDay3 = scheduledDay3;
		this.scheduledDay4 = scheduledDay4;
		this.scheduledDay5 = scheduledDay5;
		this.scheduledDay6 = scheduledDay6;
		this.scheduledDay7 = scheduledDay7;
		this.startTime = startTime;
		this.statoDisposizioneDaEstrarre = statoDisposizioneDaEstrarre;
		this.cutOffDataCreazioneDisposizione = cutOffDataCreazioneDisposizione;
		this.statusLastExecution = statusLastExecution;
		this.lastExecution = lastExecution;
		this.idcontoDefault1 = idcontoDefault1;
		this.idcontoDefault2 = idcontoDefault2;
		this.lastSaved = lastSaved;
		this.usedByService = usedByService;
		this.abiordinante = abiordinante;
		this.usaTipoSequenzaRid = usaTipoSequenzaRid;
	}

	@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 = "Denominazione", length = 50)
	public String getDenominazione() {
		return this.denominazione;
	}

	public void setDenominazione(String denominazione) {
		this.denominazione = denominazione;
	}

	@Column(name = "Enabled", nullable = false)
	public boolean isEnabled() {
		return this.enabled;
	}

	public void setEnabled(boolean enabled) {
		this.enabled = enabled;
	}

	@Column(name = "ScheduledDay1", nullable = false)
	public boolean isScheduledDay1() {
		return this.scheduledDay1;
	}

	public void setScheduledDay1(boolean scheduledDay1) {
		this.scheduledDay1 = scheduledDay1;
	}

	@Column(name = "ScheduledDay2", nullable = false)
	public boolean isScheduledDay2() {
		return this.scheduledDay2;
	}

	public void setScheduledDay2(boolean scheduledDay2) {
		this.scheduledDay2 = scheduledDay2;
	}

	@Column(name = "ScheduledDay3", nullable = false)
	public boolean isScheduledDay3() {
		return this.scheduledDay3;
	}

	public void setScheduledDay3(boolean scheduledDay3) {
		this.scheduledDay3 = scheduledDay3;
	}

	@Column(name = "ScheduledDay4", nullable = false)
	public boolean isScheduledDay4() {
		return this.scheduledDay4;
	}

	public void setScheduledDay4(boolean scheduledDay4) {
		this.scheduledDay4 = scheduledDay4;
	}

	@Column(name = "ScheduledDay5", nullable = false)
	public boolean isScheduledDay5() {
		return this.scheduledDay5;
	}

	public void setScheduledDay5(boolean scheduledDay5) {
		this.scheduledDay5 = scheduledDay5;
	}

	@Column(name = "ScheduledDay6", nullable = false)
	public boolean isScheduledDay6() {
		return this.scheduledDay6;
	}

	public void setScheduledDay6(boolean scheduledDay6) {
		this.scheduledDay6 = scheduledDay6;
	}

	@Column(name = "ScheduledDay7", nullable = false)
	public boolean isScheduledDay7() {
		return this.scheduledDay7;
	}

	public void setScheduledDay7(boolean scheduledDay7) {
		this.scheduledDay7 = scheduledDay7;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "StartTime", length = 23)
	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	@Column(name = "StatoDisposizioneDaEstrarre", length = 15)
	public String getStatoDisposizioneDaEstrarre() {
		return this.statoDisposizioneDaEstrarre;
	}

	public void setStatoDisposizioneDaEstrarre(String statoDisposizioneDaEstrarre) {
		this.statoDisposizioneDaEstrarre = statoDisposizioneDaEstrarre;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CutOffDataCreazioneDisposizione", length = 23)
	public Date getCutOffDataCreazioneDisposizione() {
		return this.cutOffDataCreazioneDisposizione;
	}

	public void setCutOffDataCreazioneDisposizione(Date cutOffDataCreazioneDisposizione) {
		this.cutOffDataCreazioneDisposizione = cutOffDataCreazioneDisposizione;
	}

	@Column(name = "StatusLastExecution")
	public Integer getStatusLastExecution() {
		return this.statusLastExecution;
	}

	public void setStatusLastExecution(Integer statusLastExecution) {
		this.statusLastExecution = statusLastExecution;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "LastExecution", length = 23)
	public Date getLastExecution() {
		return this.lastExecution;
	}

	public void setLastExecution(Date lastExecution) {
		this.lastExecution = lastExecution;
	}

	@Column(name = "IDContoDefault1")
	public Integer getIdcontoDefault1() {
		return this.idcontoDefault1;
	}

	public void setIdcontoDefault1(Integer idcontoDefault1) {
		this.idcontoDefault1 = idcontoDefault1;
	}

	@Column(name = "IDContoDefault2")
	public Integer getIdcontoDefault2() {
		return this.idcontoDefault2;
	}

	public void setIdcontoDefault2(Integer idcontoDefault2) {
		this.idcontoDefault2 = idcontoDefault2;
	}

	@Column(name = "LastSaved")
	public byte[] getLastSaved() {
		return this.lastSaved;
	}

	public void setLastSaved(byte[] lastSaved) {
		this.lastSaved = lastSaved;
	}

	@Column(name = "UsedByService", nullable = false)
	public boolean isUsedByService() {
		return this.usedByService;
	}

	public void setUsedByService(boolean usedByService) {
		this.usedByService = usedByService;
	}

	@Column(name = "ABIOrdinante", length = 5)
	public String getAbiordinante() {
		return this.abiordinante;
	}

	public void setAbiordinante(String abiordinante) {
		this.abiordinante = abiordinante;
	}

	@Column(name = "UsaTipoSequenzaRid", nullable = false)
	public boolean isUsaTipoSequenzaRid() {
		return this.usaTipoSequenzaRid;
	}

	public void setUsaTipoSequenzaRid(boolean usaTipoSequenzaRid) {
		this.usaTipoSequenzaRid = usaTipoSequenzaRid;
	}

}
