package de.oaa.xxx.social.entity;

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

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

@Getter
@Setter
@Entity
@Table(name = "profile_image")
public class ProfileImageEntity {

    @Id
    @Column
    private UUID imageId;

    @Column(nullable = false)
    private UUID userId;

    @Column(columnDefinition = "MEDIUMTEXT", nullable = false)
    private String imageData;

    @Column(nullable = false)
    private LocalDateTime uploadedAt;
}
