package com.dacrt.SBIABackend.dto;

import java.text.SimpleDateFormat;
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 ApplicationDto {
	@NotNull
	private Integer id;
	
	@NotNull
	private String name;
	
	@NotNull
	private StatusDto status;
	
	@NotNull
	private String dsc;
	
	@NotNull
	private StatusDto2 type;
	//private AppTypeDto apptype;
	
	@NotNull
	private DrptestDto drptest;
	
	@NotNull
	private FacilityDto2 facility;
	
	@NotNull
	private RecuperationDto recuperation;
	
	@NotNull
	private RegisteredDto registered;
	
	private List<ServiceOffers6Dto> serviceoffers;

	private List<ChannelDto> channels;
	
	public ApplicationDto() {
		super();
	}

	public ApplicationDto(@NotNull Integer id, @NotNull String name, @NotNull StatusDto status, @NotNull String dsc,
			@NotNull StatusDto2 type, @NotNull DrptestDto drptest, @NotNull FacilityDto2 facility,
			@NotNull RecuperationDto recuperation, @NotNull RegisteredDto registered,
			List<ServiceOffers6Dto> serviceoffers, List<ChannelDto> channels) {
		super();
		this.id = id;
		this.name = name;
		this.status = status;
		this.dsc = dsc;
		this.type = type;
		this.drptest = drptest;
		this.facility = facility;
		this.recuperation = recuperation;
		this.registered = registered;
		this.serviceoffers = serviceoffers;
		this.channels = channels;
	}

	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 String getDsc() {
		return dsc;
	}

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

	public StatusDto2 getType() {
		return type;
	}

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

	public DrptestDto getDrptest() {
		return drptest;
	}

	public void setDrptest(DrptestDto drptest) {
		this.drptest = drptest;
	}

	public FacilityDto2 getFacility() {
		return facility;
	}

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

	public RecuperationDto getRecuperation() {
		return recuperation;
	}

	public void setRecuperation(RecuperationDto recuperation) {
		this.recuperation = recuperation;
	}

	public RegisteredDto getRegistered() {
		return registered;
	}

	public void setRegistered(RegisteredDto registered) {
		this.registered = registered;
	}

	public List<ServiceOffers6Dto> getServiceoffers() {
		return serviceoffers;
	}

	public void setServiceoffers(List<ServiceOffers6Dto> serviceoffers) {
		this.serviceoffers = serviceoffers;
	}

	public List<ChannelDto> getChannels() {
		return channels;
	}

	public void setChannels(List<ChannelDto> channels) {
		this.channels = channels;
	}

	
}