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 ParamsDto {
	@NotNull
	private Integer id;
	
	@NotNull
	private String paramname;
	
	@NotNull
	private String group;
	
	@NotNull
	private String name;
	
	@NotNull
	private int type;
	
	@NotNull
	private String value;
	
	@NotNull
	private String info;
	
	@NonNull
	private Date modifiedat;

	public ParamsDto() {
		super();
	}

	public ParamsDto(@NotNull Integer id, @NotNull String paramname, @NotNull String group, @NotNull String name,
			@NotNull int type, @NotNull String value, @NotNull String info, Date modifiedat) {
		super();
		this.id = id;
		this.paramname = paramname;
		this.group = group;
		this.name = name;
		this.type = type;
		this.value = value;
		this.info = info;
		this.modifiedat = modifiedat;
	}

	public Integer getId() {
		return id;
	}

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

	public String getParamname() {
		return paramname;
	}

	public void setParamname(String paramname) {
		this.paramname = paramname;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getName() {
		return name;
	}

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

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public Date getModifiedat() {
		return modifiedat;
	}

	public void setModifiedat(Date modifiedat) {
		this.modifiedat = modifiedat;
	}
	
	
	
}