package com.dacrt.SBIABackend.dto;

import javax.validation.constraints.NotNull;

public class PrivilegesFollowsDto {

	
	@NotNull
	private boolean view;
	
	@NotNull
	private boolean update;
	
	@NotNull
	private boolean close;
	
	@NotNull
	private boolean updateafterclose;

	public PrivilegesFollowsDto(@NotNull boolean view, @NotNull boolean update, @NotNull boolean close,
			@NotNull boolean updateafterclose) {
		super();
		this.view = view;
		this.update = update;
		this.close = close;
		this.updateafterclose = updateafterclose;
	}

	public PrivilegesFollowsDto() {
		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 isClose() {
		return close;
	}

	public void setClose(boolean close) {
		this.close = close;
	}

	public boolean isUpdateafterclose() {
		return updateafterclose;
	}

	public void setUpdateafterclose(boolean updateafterclose) {
		this.updateafterclose = updateafterclose;
	}
	
}
