package ru.vyatsu.qr_access_admin.door.entity;

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

@Entity
@Table(name = "doors")
@Getter
@Setter
public class DoorEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.UUID)
    private String id;

    @Column
    private String unitId;

    @Column
    private String description;

    @Column
    private int count;

    @Column
    private String parentDoorIds;
}
