Commit b82d5c30 by Oscar Gonzalez

se agrega modelo de beneficioˆ

parent 02575b75
package com.roshka.modelo;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;
@Entity @Data
@Table(name="beneficio")
public class Beneficio {
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Id
@Column(name="id")
private Long id;
@Column(name="beneficio")
@NotBlank(message = "Este campo no puede estar vacio")
private String beneficio;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment