packagecom.roshka.modelo;importlombok.Data;importorg.springframework.format.annotation.DateTimeFormat;importjavax.persistence.*;importjavax.validation.constraints.NotBlank;importjava.util.Date;@Entity@Data@Table(name="feriados")publicclassFeriado{@GeneratedValue(strategy=GenerationType.IDENTITY)@Id@Column(name="id")privateLongid;@Column(name="fecha")@Temporal(TemporalType.DATE)@DateTimeFormat(pattern="yyyy-MM-dd")privateDatefecha;@Column(name="motivoFeriado")@NotBlank(message="Este campo no puede estar vacio")privateStringmotivoFeriado;}