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.
40 lines
786 B
40 lines
786 B
package com.community.pocket.entity.vo.android;
|
|
|
|
public enum GarbageCateGory {
|
|
/**
|
|
* 1 (可回收垃圾)
|
|
* 2 (有害垃圾)
|
|
* 4 (湿垃圾)
|
|
* 8 (干垃圾)
|
|
* 16 (大件垃圾)
|
|
*/
|
|
type1(1, "可回收垃圾"),
|
|
type2(2, "有害垃圾"),
|
|
type4(4, "湿垃圾"),
|
|
type8(8, "干垃圾"),
|
|
type16(16, "大件垃圾");
|
|
|
|
private Integer type;
|
|
private String name;
|
|
|
|
GarbageCateGory(Integer type, String name) {
|
|
this.type = type;
|
|
this.name = name;
|
|
}
|
|
|
|
public Integer getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(Integer type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
}
|
|
|