package com.kospo.talk.model;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "sequence")
public class Sequence {
    @Id
    @Column(name = "sequence_name", nullable = false, length = Integer.MAX_VALUE)
    private String sequenceName;

    @Column(name = "next_val")
    private Long nextVal;

}