package com.example.skychasemk.model;

import jakarta.persistence.*;

@Entity
@Table(name="Airport")
public class Airport {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "AirportID")
    private Integer airportID;
    @Column(name = "name")

    private String name;
    @Column(name = "city")

    private Integer city;
    @Column(name = "country")

    private String country;
    @Column(name = "code")

    private String code;

    // Getters and Setters
    public Integer getAirportID() {
        return airportID;
    }

    public void setAirportID(Integer airportID) {
        this.airportID = airportID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
