package za.co.rootbranch.coffeechat.models;

import java.sql.Blob;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Entity
public class Room {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    public int id;
    @Getter
    public String title;
    @Getter
    public String color;
    @Getter
    @Column(columnDefinition="LONGBLOB")
    public String image;
    @Getter
    public String room;
}
