package com.dacrt.SBIABackend.dto;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;

import org.springframework.lang.NonNull;

public class UnitsDto {
	@NotNull
	private Integer id;
	
	@NotNull
	private String dsc;
	
	@NotNull
	private String name;
	
	@NotNull
	private String ref;
	
	private BigInteger processes;
	
	@NotNull
	private StatusDto status;
	
	@NotNull
	private TypeUnitDto type;
	
	@NotNull
	private VicepresidencyDto vicepresidency;
	
	@NotNull
	private FacilityDto facility;
	//private List<UnitsDto> records;

	
	public UnitsDto() {
		super();
	}

	

	public UnitsDto(@NotNull Integer id, @NotNull String dsc, @NotNull String name, @NotNull String ref,BigInteger processes,
			@NotNull StatusDto status, @NotNull TypeUnitDto type, @NotNull VicepresidencyDto vicepresidency,
			@NotNull FacilityDto facility) {
		super();
		this.id = id;
		this.dsc = dsc;
		this.name = name;
		this.ref = ref;
		this.processes = processes;
		this.status = status;
		this.type = type;
		this.vicepresidency = vicepresidency;
		this.facility = facility;
	}



	public Integer getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public StatusDto getStatus() {
		return status;
	}

	public void setStatus(StatusDto status) {
		this.status = status;
	}

	public TypeUnitDto getType() {
		return type;
	}

	public void setType(TypeUnitDto type) {
		this.type = type;
	}

	public VicepresidencyDto getVicepresidency() {
		return vicepresidency;
	}

	public void setVicepresidency(VicepresidencyDto vicepresidency) {
		this.vicepresidency = vicepresidency;
	}

	public FacilityDto getFacility() {
		return facility;
	}

	public void setFacility(FacilityDto facility) {
		this.facility = facility;
	}



	public String getDsc() {
		return dsc;
	}

	public void setDsc(String dsc) {
		this.dsc = dsc;
	}

	public String getRef() {
		return ref;
	}

	public void setRef(String ref) {
		this.ref = ref;
	}

	public BigInteger getProcesses() {
		return processes;
	}

	public void setProcesses(BigInteger processes) {
		this.processes = processes;
	}
	
}
