package com.dacrt.SBIABackend.dto;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.springframework.lang.NonNull;

public class CampaingDto {
	
	@NotNull
	private Integer id;
	
	@NotNull
	private String name;
	
	@NonNull
	private String datefrom;
	
	@NonNull
	private String dateto;
	
	@NotNull
	private String color;
	
	@NotNull
	private Long units;
	
	@NotNull
	private StatusDto status;

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

	public CampaingDto(@NotNull Integer id, @NotNull String name, String datefrom, String dateto, @NotNull String color,
			@NotNull Long units, @NotNull StatusDto status) {
		super();
		this.id = id;
		this.name = name;
		this.datefrom = datefrom;
		this.dateto = dateto;
		this.color = color;
		this.units = units;
		this.status = status;
	}

	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 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 String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Long getUnits() {
		return units;
	}

	public void setUnits(Long units) {
		this.units = units;
	}

	public StatusDto getStatus() {
		return status;
	}

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

}
