package de.votian.services.entity;

import jakarta.persistence.*;

@Entity
@Table(name = "metatype")
public class MetaType {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "mt_id")
    private Long id;

    @Column(name = "mt_sort")
    private Integer sort;

    @Column(name = "mt_type")
    private String type;

    @Column(name = "mt_value")
    private String value;

    @Column(name = "mt_mapped_value")
    private String mappedValue;

    public MetaType() {}

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Integer getSort() { return sort; }
    public void setSort(Integer sort) { this.sort = sort; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public String getValue() { return value; }
    public void setValue(String value) { this.value = value; }
    public String getMappedValue() { return mappedValue; }
    public void setMappedValue(String mappedValue) { this.mappedValue = mappedValue; }
}
