package ru.vyatsu.qr_access_admin.door.entity;

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

import java.math.BigDecimal;

@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 BigDecimal price;

    @Column
    private String parentDoorIds;
}
