package com.iqser.red.service.persistence.management.v1.processor.entity.configuration;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Lob;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "date_formats")
public class DateFormatsEntity {

    @Id
    @Column
    private String dossierTemplateId;

    @Lob
    @Column(name = "value", columnDefinition = "TEXT")
    private String value;

    @Column
    private long version;
}

