package ru.vyatsu.qr_access_admin.slot.entity;

import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalTime;

@Entity
@Table(name = "slots")
@Getter
@Setter
public class SlotEntity {
    @Id
    @Column
    @GeneratedValue(strategy = GenerationType.UUID)
    private String id;

    @Column
    private LocalTime startTime;

    @Column
    private LocalTime endTime;
}
