ohctechv3/.svn/pristine/5f/5f54043b1175c4a597ee68bd292aaaec183188ad.svn-base
2024-10-28 15:03:36 +05:30

35 lines
619 B
Plaintext

package com.healthcare.ohctech.entity;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotBlank;
@Entity
@Table(name = "blood_group")
public class BloodGroup {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "id")
private Long id;
@Column(name = "type")
private String type;
// Getters and setters
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}