package com.dacrt.SBIABackend.security.dto;

import javax.validation.constraints.NotNull;

public class PrivilegeUniqueResponseDto {
	@NotNull
	private Integer id;
	
	@NotNull
	private String grp;
	
	@NotNull
	private String name;
	
	@NotNull
	private int crud;
	
	@NotNull
	private int ord;

	public PrivilegeUniqueResponseDto() {
		super();
	}

	public PrivilegeUniqueResponseDto(@NotNull Integer id, @NotNull String grp, @NotNull String name, @NotNull int crud,
			@NotNull int ord) {
		super();
		this.id = id;
		this.grp = grp;
		this.name = name;
		this.crud = crud;
		this.ord = ord;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGrp() {
		return grp;
	}

	public void setGrp(String grp) {
		this.grp = grp;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getCrud() {
		return crud;
	}

	public void setCrud(int crud) {
		this.crud = crud;
	}

	public int getOrd() {
		return ord;
	}

	public void setOrd(int ord) {
		this.ord = ord;
	}

}
