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.
31 lines
649 B
31 lines
649 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.garbageWastePrice)
|
|
public class GarbageWastePrice {
|
|
//废品名
|
|
@Id
|
|
private String name;
|
|
//废品价格
|
|
private Float price;
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public Float getPrice() {
|
|
return price;
|
|
}
|
|
|
|
public void setPrice(Float price) {
|
|
this.price = price;
|
|
}
|
|
} |