package com.alterdekim.hearthhack.entity;

import jakarta.persistence.*;
import lombok.*;

@ToString
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "deck_content")
public class DeckContent {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(nullable=false)
    private Long userId;

    @Column(nullable=false)
    private Long deckId;

    @Column(nullable = false)
    private Long assetId;

    @Column(nullable = false)
    private Boolean isPremium;

    public DeckContent(Long userId, Long deckId, Long assetId, Boolean isPremium) {
        this.userId = userId;
        this.deckId = deckId;
        this.assetId = assetId;
        this.isPremium = isPremium;
    }
}
