package com.example.villadihovo.model.users; import jakarta.persistence.Column; import jakarta.persistence.Entity; import jakarta.persistence.PrimaryKeyJoinColumn; import jakarta.persistence.Table; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Entity @AllArgsConstructor @NoArgsConstructor @Data @PrimaryKeyJoinColumn(name = "user_id") @Table(name="guests") public class Guests extends UserTable { @Column(nullable=false) private String passport_number; }