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; } }