package lt.bit.interfeisai; public class Laivas implements TuriVardaIrId{ public String name; public int id; public Laivas() { } public Laivas(String name, int id) { this.name = name; this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getId() { return id; } public void setId(int id) { this.id = id; } }