package com.dacrt.SBIABackend.dto;

import javax.validation.constraints.NotNull;

public class PrivilegesRiskDto {
	
	@NotNull
	private boolean view;
	
	@NotNull
	private boolean update;
	
	@NotNull
	private boolean add;
	
	@NotNull
	private boolean delete;
	
	@NotNull
	private boolean updatt;

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

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



	public boolean isView() {
		return view;
	}

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

	public boolean isUpdate() {
		return update;
	}

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

	public boolean isAdd() {
		return add;
	}

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

	public boolean isDelete() {
		return delete;
	}

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

	public boolean isUpdatt() {
		return updatt;
	}

	public void setUpdatt(boolean updatt) {
		this.updatt = updatt;
	}
	
	
	

}
