package com.example.dateplanner.models.entities;

import jakarta.persistence.Table;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;

import java.time.LocalDateTime;
import java.util.UUID;

@Data
@NoArgsConstructor
@Table(name = "feedbacks")
public class Feedback {
    @Id
    private UUID uuid;
    private UUID userUuid;
    @Column("dating_place_uuid")
    private UUID datingPlaceUuid;
    private int feedback;
    private String comment;

    @Column("created_at")
    private LocalDateTime createdAt;
    @Column("updated_at")
    private LocalDateTime updatedAt;
}
