forked from pp6u3wzhq/campus-lost-found
parent
f644048d7b
commit
39c15bcd73
@ -0,0 +1,33 @@
|
||||
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; }
|
||||
}
|
||||
Loading…
Reference in new issue