package de.oaa.xxx.hashtag;

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

import java.util.UUID;

@Getter
@Setter
@Entity
@Table(name = "hashtag")
public class HashtagEntity {

    @Id
    @Column
    private UUID hashtagId;

    @Column(nullable = false, unique = true, length = 100)
    private String name; // lowercase, without #
}
