package com.dacrt.SBIABackend.entity;


import javax.persistence.*;
import java.time.LocalDate;
import java.util.Date;

@Entity
@Table(name = "riskfollowupactions", schema = "main")
public class Riskfollowupactions {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

    @Column(name = "riskfollowupid", nullable = false)
    private Integer riskfollowupid;

    @Column(name = "date", nullable = false)
    private Date date;

    @Column(name = "action", length = 256, nullable = false)
    private String action;

    @Column(name = "progress", nullable = false)
    private Integer progress;

   

    public Riskfollowupactions(Integer id, Integer riskfollowupid, Date date, String action, Integer progress) {
		super();
		this.id = id;
		this.riskfollowupid = riskfollowupid;
		this.date = date;
		this.action = action;
		this.progress = progress;
	}
    
    
	// --- Getters y Setters ---

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


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

    public Integer getRiskFollowUpId() { return riskfollowupid; }
    public void setRiskFollowUpId(Integer riskFollowUpId) { this.riskfollowupid = riskFollowUpId; }

    public Date getDate() { return date; }
    public void setDate(Date date) { this.date = date; }

    public String getAction() { return action; }
    public void setAction(String action) { this.action = action; }

    public Integer getProgress() { return progress; }
    public void setProgress(Integer progress) { this.progress = progress; }
}


