package com.dacrt.SBIABackend.dto;

import java.util.List;

import javax.validation.constraints.NotNull;

import com.dacrt.SBIABackend.security.dto.UsersUnitDto;

public class CampainDetailDto {


   @NotNull
   private Integer id;

   @NotNull
   private String name;
   
   @NotNull
   private String dsc;

   @NotNull
   private String datefrom;
   
   @NotNull
   private String dateto;
   
   @NotNull
   private boolean expired;
   
   @NotNull
   private boolean updatabledate;

   @NotNull
   private StatusDto status;

   private List<UsersUnitDto> units;

   public CampainDetailDto() {
	 super();
	// TODO Auto-generated constructor stub
   }

   public CampainDetailDto(@NotNull Integer id, @NotNull String name, @NotNull String dsc, @NotNull String datefrom,
		@NotNull String dateto, @NotNull boolean expired,boolean updatabledate, @NotNull StatusDto status, List<UsersUnitDto> units) {
	super();
	this.id = id;
	this.name = name;
	this.dsc = dsc;
	this.datefrom = datefrom;
	this.dateto = dateto;
	this.expired = expired;
	this.status = status;
	this.units = units;
	this.updatabledate = updatabledate;
   }

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

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

public String getDatefrom() {
	return datefrom;
}

public void setDatefrom(String datefrom) {
	this.datefrom = datefrom;
}

public String getDateto() {
	return dateto;
}

public void setDateto(String dateto) {
	this.dateto = dateto;
}

public boolean isExpired() {
	return expired;
}

public void setExpired(boolean expired) {
	this.expired = expired;
}

public StatusDto getStatus() {
	return status;
}

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

public List<UsersUnitDto> getUnits() {
	return units;
}

public void setUnits(List<UsersUnitDto> units) {
	this.units = units;
}

public boolean isUpdatabledate() {
	return updatabledate;
}

public void setUpdatabledate(boolean updatabledate) {
	this.updatabledate = updatabledate;
}
   
}