package at.procon.dip.domain.time.entity.leitstand;

import at.procon.dip.architecture.SchemaNames;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Index;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Entity
@Table(schema = SchemaNames.TIME, name = "ls_activity_type", indexes = {
        @Index(name = "idx_ls_activity_type_code", columnList = "l_code")
})
@Getter
@Setter
@NoArgsConstructor
public class LeitstandActivityType {
    @Id @Column(name = "id", nullable = false) private Integer id;
    @Column(name = "l_code", length = 32) private String lCode;
    @Column(name = "bez", length = 255) private String bez;
}
