package com.jiuqi.mobile.nigo.comeclose.bean.app.news;
import com.jiuqi.mobile.nigo.comeclose.bean.base.DataDictionaryBean;
import com.jiuqi.mobile.nigo.comeclose.manager.base.DataDictionaryAnnotation;
/**
* 供需信息发布
* @author modi
*
*/
//@DBTable(name="T_NEWS_TASK_SD")
public class SupplyAndDemandTaskNewsBean extends TaskNews{
// @DBColumn(comment="信息类别supply,demand")
@DataDictionaryAnnotation(initNames={"供应信息","求需信息"},mark=10301, comment="供需信息类别")
private DataDictionaryBean newsType;//supply,demand
// @DBColumn(comment="商品总类")
@DataDictionaryAnnotation(initNames={"农业机械","粮食作物","瓜果蔬菜","化肥农药","农业物资"},mark=10302, comment="供需商品种类")
private DataDictionaryBean goodsType;//商品种类
// @DBColumn(comment="商品名称")
private String goodsName;//
// @DBColumn(comment="数量")
private double count;
// @DBColumn(comment="单位")
@DataDictionaryAnnotation(mark=10303, initNames={"个","瓶","箱","袋","辆","亩","斤"}, comment="单位")
private DataDictionaryBean goodsUnit;//
// @DBColumn(comment="单价")
private double price;//
public DataDictionaryBean getNewsType() {
return newsType;
}
public void setNewsType(DataDictionaryBean newsType) {
this.newsType = newsType;
}
public DataDictionaryBean getGoodsType() {
return goodsType;
}
public void setGoodsType(DataDictionaryBean goodsType) {
this.goodsType = goodsType;
}
public String getGoodsName() {
return goodsName;
}
public void setGoodsName(String goodsName) {
this.goodsName = goodsName;
}
public double getCount() {
return count;
}
public void setCount(double count) {
this.count = count;
}
public DataDictionaryBean getGoodsUnit() {
return goodsUnit;
}
public void setGoodsUnit(DataDictionaryBean goodsUnit) {
this.goodsUnit = goodsUnit;
}
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
}