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
672 B
33 lines
672 B
package com.community.pocket.entity.po.android;
|
|
|
|
import com.community.pocket.util.TableName;
|
|
import org.springframework.data.annotation.Id;
|
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
|
|
/**
|
|
* 垃圾分类信息
|
|
*/
|
|
@Document(TableName.garbage)
|
|
public class Garbage {
|
|
//垃圾名
|
|
@Id
|
|
private String name;
|
|
//分类信息
|
|
private Integer category;
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public Integer getCategory() {
|
|
return category;
|
|
}
|
|
|
|
public void setCategory(Integer category) {
|
|
this.category = category;
|
|
}
|
|
}
|
|
|