package com.example.video_downloader.entity;

import jakarta.persistence.*;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@Entity
@Table(name = "videos")
public class Video {
    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE)
    private Long id;

    private String url;
    private String ytdl;
    private String ytMetaData;

    @Enumerated(EnumType.STRING)
    private StatusEnum status;

    private String fullPath;
}
