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.
84 lines
1.6 KiB
84 lines
1.6 KiB
package com.community.pocket.entity.po.android;
|
|
|
|
import com.community.pocket.util.TableName;
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import org.bson.types.ObjectId;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
/**
|
|
* 访客预约
|
|
*/
|
|
@Document(TableName.visitor)
|
|
public class Visitor {
|
|
//访客id
|
|
@JsonIgnore
|
|
private ObjectId id;
|
|
//访客人
|
|
private String username;
|
|
//预约对象
|
|
private String appointment;
|
|
//预约日期
|
|
private String chooseDate;
|
|
//预约时间
|
|
private String chooseTime;
|
|
//备注信息
|
|
private String notes;
|
|
|
|
private Long time;
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public String getAppointment() {
|
|
return appointment;
|
|
}
|
|
|
|
public void setAppointment(String appointment) {
|
|
this.appointment = appointment;
|
|
}
|
|
|
|
public String getChooseTime() {
|
|
return chooseTime;
|
|
}
|
|
|
|
public void setChooseTime(String chooseTime) {
|
|
this.chooseTime = chooseTime;
|
|
}
|
|
|
|
public String getNotes() {
|
|
return notes;
|
|
}
|
|
|
|
public void setNotes(String notes) {
|
|
this.notes = notes;
|
|
}
|
|
|
|
public ObjectId getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(ObjectId id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getTime() {
|
|
return time;
|
|
}
|
|
|
|
public void setTime(Long time) {
|
|
this.time = time;
|
|
}
|
|
|
|
public String getChooseDate() {
|
|
return chooseDate;
|
|
}
|
|
|
|
public void setChooseDate(String chooseDate) {
|
|
this.chooseDate = chooseDate;
|
|
}
|
|
}
|
|
|