package org.example.demo.praktikum6;

import jakarta.persistence.*;
import java.io.Serializable;

@Entity
public class Auto implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(nullable = false)
    public String hersteller;

    @Column(nullable = false)
    public String typ;

    @Column(nullable = false)
    public String kennzeichen;
}
