
package com.dacrt.SBIABackend.security.dto;

import java.util.Date;

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

import org.springframework.lang.NonNull;

public class PrivilegeAllCampaignDto {
	@NotNull
	private boolean view;
	
	@NotNull
	private boolean update;
	
	@NotNull
	private boolean add;
	
	@NotNull
	private boolean delete;
	
	@NotNull
	private boolean updateStatusExpired;
	
	
	

	public PrivilegeAllCampaignDto() {
		super();
	}


	public PrivilegeAllCampaignDto(@NotNull boolean view, @NotNull boolean update,@NotNull boolean add,@NotNull boolean delete,@NotNull boolean updateStatusExpired) {
		super();
		this.view = view;
		this.update = update;
		this.add = add;
		this.delete = delete;
		this.updateStatusExpired = updateStatusExpired;
		
	}


	//public boolean isView() {
	public boolean getView() {
		return view;
	}


	public void setView(boolean view) {
		this.view = view;
	}


	public boolean getUpdate() {
		return update;
	}


	public void setUpdate(boolean update) {
		this.update = update;
	}
	
	public boolean getAdd() {
		return add;
	}


	public void setAdd(boolean add) {
		this.add = add;
	}
	
	public boolean getDelete() {
		return delete;
	}


	public void setDelete(boolean delete) {
		this.delete = delete;
	}


	public boolean isUpdateStatusExpired() {
		return updateStatusExpired;
	}


	public void setUpdateStatusExpired(boolean updateStatusExpired) {
		this.updateStatusExpired = updateStatusExpired;
	}
	
	
}
	
