Skip to content

Commit

Permalink
Add ShelterCertificate entity model
Browse files Browse the repository at this point in the history
  • Loading branch information
diegogliarte committed Feb 27, 2024
1 parent 70074b7 commit 9ccfff5
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package cat.udl.eps.softarch.demo.domain;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@Entity
@EqualsAndHashCode(callSuper = false)
public class ShelterCertificate {

@Id
private Long id;

@NotNull
private LocalDateTime expirationDate;

}

0 comments on commit 9ccfff5

Please sign in to comment.