You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.4 KiB
33 lines
1.4 KiB
package com.lostfound.model;
|
|
|
|
public class Item {
|
|
private String id;
|
|
private String userId;
|
|
private String type; // "lost" or "found"
|
|
private String category;
|
|
private String description;
|
|
private String location;
|
|
private String time;
|
|
private String contact;
|
|
private boolean matched = false;
|
|
|
|
// Getters and Setters
|
|
public String getId() { return id; }
|
|
public void setId(String id) { this.id = id; }
|
|
public String getUserId() { return userId; }
|
|
public void setUserId(String userId) { this.userId = userId; }
|
|
public String getType() { return type; }
|
|
public void setType(String type) { this.type = type; }
|
|
public String getCategory() { return category; }
|
|
public void setCategory(String category) { this.category = category; }
|
|
public String getDescription() { return description; }
|
|
public void setDescription(String description) { this.description = description; }
|
|
public String getLocation() { return location; }
|
|
public void setLocation(String location) { this.location = location; }
|
|
public String getTime() { return time; }
|
|
public void setTime(String time) { this.time = time; }
|
|
public String getContact() { return contact; }
|
|
public void setContact(String contact) { this.contact = contact; }
|
|
public boolean isMatched() { return matched; }
|
|
public void setMatched(boolean matched) { this.matched = matched; }
|
|
} |