package com.dacrt.SBIABackend.dto.requestDto;

import java.math.BigDecimal;

import javax.validation.constraints.Size;

public class ElementDto {

	private Integer id;
	@Size(max = 512)
    private String dsc;
    private BigDecimal probability;
    private BigDecimal impact;
    private Integer active;
    private BigDecimal weight;
    
	public ElementDto() {
		super();
		// TODO Auto-generated constructor stub
	}

	public ElementDto(Integer id, String dsc, BigDecimal probability, BigDecimal impact, Integer active,
			BigDecimal weight) {
		super();
		this.id = id;
		this.dsc = dsc;
		this.probability = probability;
		this.impact = impact;
		this.active = active;
		this.weight = weight;
	}

	public Integer getId() {
		return id;
	}

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

	public String getDsc() {
		return dsc;
	}

	public void setDsc(String dsc) {
		this.dsc = dsc;
	}

	public BigDecimal getProbability() {
		return probability;
	}

	public void setProbability(BigDecimal probability) {
		this.probability = probability;
	}

	public BigDecimal getImpact() {
		return impact;
	}

	public void setImpact(BigDecimal impact) {
		this.impact = impact;
	}

	public Integer getActive() {
		return active;
	}

	public void setActive(Integer active) {
		this.active = active;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
    
}
