package com.landy.gum.base.model;
|
|
import java.util.Date;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.landy.framework.core.model.BaseModel;
|
import com.landy.framework.core.model.OperationLog;
|
|
/**
|
* Model class for BbProduct
|
*/
|
@Entity
|
@Table(name = "bb_product")
|
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
|
public class BbProductModel extends BaseModel implements OperationLog {
|
|
//id-----bbpr_id
|
private String bbprId;
|
//产品编码-----bbpr_sn
|
private String bbprSn;
|
//中文名称-----bbpr_name
|
private String bbprName;
|
//英文名称-----bbpr_en_name
|
private String bbprEnName;
|
//单位编码-----bbpr_unit
|
private String bbprUnit;
|
//产品规格-----bbpr_style
|
private String bbprStyle;
|
//规格单位编码-----bbpr_style_unit
|
private String bbprStyleUnit;
|
//品牌编码-----bbpr_pin_pai
|
private String bbprPinPai;
|
//产品大类编码-----bbpr_big_category
|
private String bbprBigCategory;
|
//产品子类编码-----bbpr_small_category
|
private String bbprSmallCategory;
|
//产品属性编码-----bbpr_shu_xing
|
private String bbprShuXing;
|
//产品用途编码-----bbpr_yong_tu
|
private String bbprYongTu;
|
//产品系列编码-----bbpr_xi_lie
|
private String bbprXiLie;
|
//产品销售属性-----bbpr_sale_shu_xing
|
private String bbprSaleShuXing;
|
//订购数量限制-----bbpr_limit_size
|
private Double bbprLimitSize;
|
//产品库存上限-----bbpr_max_size
|
private Double bbprMaxSize;
|
//产品库存下限-----bbpr_min_size
|
private Double bbprMinSize;
|
//零售价-----bbpr_price_market
|
private Double bbprPriceMarket;
|
//零售价-----bbpr_price_avg
|
private Double bbprPriceAvg;
|
//零售价-----bbpr_price_sale
|
private Double bbprPriceSale;
|
//是否零售转院装-----bbpr_is_she_bao
|
private String bbprIsSheBao;
|
//产品状态-----bbpr_state
|
private String bbprState;
|
//是否可领用-----bbpr_is_pick
|
private String bbprIsPick;
|
//商品描述-----bbpr_desc
|
private String bbprDesc;
|
//商品附件-----bbpr_syacc_ids
|
private String bbprSyaccIds;
|
//医院ID-----bbpr_locationid
|
private Integer bbprLocationid;
|
//类别ID-----bbpr_bbbr_id
|
private Integer bbprBbbrId;
|
//creator
|
private String creator;
|
//createTime
|
private Date createTime;
|
//modifier
|
private String modifier;
|
//modifyTime
|
private Date modifyTime;
|
//产品描述
|
private String bbprRemark;
|
//产品分类
|
private Integer bbprSydiId;
|
//耗材管理模式
|
private String bbprManagementModel;
|
//是否库存管理
|
private String bbprInventoryManage;
|
|
/**
|
* Get id-----bbpr_id
|
*/
|
@Column(name = "bbpr_id")
|
@Id @GeneratedValue(generator = "UUIDGenerator")
|
public String getBbprId() {
|
return bbprId;
|
}
|
|
/**
|
* Set id-----bbpr_id
|
*/
|
public void setBbprId(String bbprId) {
|
this.bbprId = bbprId;
|
addValidField("bbprId");
|
}
|
|
/**
|
* Get 产品编码-----bbpr_sn
|
*/
|
@Column(name = "bbpr_sn")
|
public String getBbprSn() {
|
return bbprSn;
|
}
|
|
/**
|
* Set 产品编码-----bbpr_sn
|
*/
|
public void setBbprSn(String bbprSn) {
|
this.bbprSn = bbprSn;
|
addValidField("bbprSn");
|
}
|
|
/**
|
* Get 中文名称-----bbpr_name
|
*/
|
@Column(name = "bbpr_name")
|
public String getBbprName() {
|
return bbprName;
|
}
|
|
/**
|
* Set 中文名称-----bbpr_name
|
*/
|
public void setBbprName(String bbprName) {
|
this.bbprName = bbprName;
|
addValidField("bbprName");
|
}
|
|
/**
|
* Get 英文名称-----bbpr_en_name
|
*/
|
@Column(name = "bbpr_en_name")
|
public String getBbprEnName() {
|
return bbprEnName;
|
}
|
|
/**
|
* Set 英文名称-----bbpr_en_name
|
*/
|
public void setBbprEnName(String bbprEnName) {
|
this.bbprEnName = bbprEnName;
|
addValidField("bbprEnName");
|
}
|
|
/**
|
* Get 单位编码-----bbpr_unit
|
*/
|
@Column(name = "bbpr_unit")
|
public String getBbprUnit() {
|
return bbprUnit;
|
}
|
|
/**
|
* Set 单位编码-----bbpr_unit
|
*/
|
public void setBbprUnit(String bbprUnit) {
|
this.bbprUnit = bbprUnit;
|
addValidField("bbprUnit");
|
}
|
|
/**
|
* Get 产品规格-----bbpr_style
|
*/
|
@Column(name = "bbpr_style")
|
public String getBbprStyle() {
|
return bbprStyle;
|
}
|
|
/**
|
* Set 产品规格-----bbpr_style
|
*/
|
public void setBbprStyle(String bbprStyle) {
|
this.bbprStyle = bbprStyle;
|
addValidField("bbprStyle");
|
}
|
|
/**
|
* Get 规格单位编码-----bbpr_style_unit
|
*/
|
@Column(name = "bbpr_style_unit")
|
public String getBbprStyleUnit() {
|
return bbprStyleUnit;
|
}
|
|
/**
|
* Set 规格单位编码-----bbpr_style_unit
|
*/
|
public void setBbprStyleUnit(String bbprStyleUnit) {
|
this.bbprStyleUnit = bbprStyleUnit;
|
addValidField("bbprStyleUnit");
|
}
|
|
/**
|
* Get 品牌编码-----bbpr_pin_pai
|
*/
|
@Column(name = "bbpr_pin_pai")
|
public String getBbprPinPai() {
|
return bbprPinPai;
|
}
|
|
/**
|
* Set 品牌编码-----bbpr_pin_pai
|
*/
|
public void setBbprPinPai(String bbprPinPai) {
|
this.bbprPinPai = bbprPinPai;
|
addValidField("bbprPinPai");
|
}
|
|
/**
|
* Get 产品大类编码-----bbpr_big_category
|
*/
|
@Column(name = "bbpr_big_category")
|
public String getBbprBigCategory() {
|
return bbprBigCategory;
|
}
|
|
/**
|
* Set 产品大类编码-----bbpr_big_category
|
*/
|
public void setBbprBigCategory(String bbprBigCategory) {
|
this.bbprBigCategory = bbprBigCategory;
|
addValidField("bbprBigCategory");
|
}
|
|
/**
|
* Get 产品子类编码-----bbpr_small_category
|
*/
|
@Column(name = "bbpr_small_category")
|
public String getBbprSmallCategory() {
|
return bbprSmallCategory;
|
}
|
|
/**
|
* Set 产品子类编码-----bbpr_small_category
|
*/
|
public void setBbprSmallCategory(String bbprSmallCategory) {
|
this.bbprSmallCategory = bbprSmallCategory;
|
addValidField("bbprSmallCategory");
|
}
|
|
/**
|
* Get 产品属性编码-----bbpr_shu_xing
|
*/
|
@Column(name = "bbpr_shu_xing")
|
public String getBbprShuXing() {
|
return bbprShuXing;
|
}
|
|
/**
|
* Set 产品属性编码-----bbpr_shu_xing
|
*/
|
public void setBbprShuXing(String bbprShuXing) {
|
this.bbprShuXing = bbprShuXing;
|
addValidField("bbprShuXing");
|
}
|
|
/**
|
* Get 产品用途编码-----bbpr_yong_tu
|
*/
|
@Column(name = "bbpr_yong_tu")
|
public String getBbprYongTu() {
|
return bbprYongTu;
|
}
|
|
/**
|
* Set 产品用途编码-----bbpr_yong_tu
|
*/
|
public void setBbprYongTu(String bbprYongTu) {
|
this.bbprYongTu = bbprYongTu;
|
addValidField("bbprYongTu");
|
}
|
|
/**
|
* Get 产品系列编码-----bbpr_xi_lie
|
*/
|
@Column(name = "bbpr_xi_lie")
|
public String getBbprXiLie() {
|
return bbprXiLie;
|
}
|
|
/**
|
* Set 产品系列编码-----bbpr_xi_lie
|
*/
|
public void setBbprXiLie(String bbprXiLie) {
|
this.bbprXiLie = bbprXiLie;
|
addValidField("bbprXiLie");
|
}
|
|
/**
|
* Get 产品销售属性-----bbpr_sale_shu_xing
|
*/
|
@Column(name = "bbpr_sale_shu_xing")
|
public String getBbprSaleShuXing() {
|
return bbprSaleShuXing;
|
}
|
|
/**
|
* Set 产品销售属性-----bbpr_sale_shu_xing
|
*/
|
public void setBbprSaleShuXing(String bbprSaleShuXing) {
|
this.bbprSaleShuXing = bbprSaleShuXing;
|
addValidField("bbprSaleShuXing");
|
}
|
|
/**
|
* Get 订购数量限制-----bbpr_limit_size
|
*/
|
@Column(name = "bbpr_limit_size")
|
public Double getBbprLimitSize() {
|
return bbprLimitSize;
|
}
|
|
/**
|
* Set 订购数量限制-----bbpr_limit_size
|
*/
|
public void setBbprLimitSize(Double bbprLimitSize) {
|
this.bbprLimitSize = bbprLimitSize;
|
addValidField("bbprLimitSize");
|
}
|
|
/**
|
* Get 产品库存上限-----bbpr_max_size
|
*/
|
@Column(name = "bbpr_max_size")
|
public Double getBbprMaxSize() {
|
return bbprMaxSize;
|
}
|
|
/**
|
* Set 产品库存上限-----bbpr_max_size
|
*/
|
public void setBbprMaxSize(Double bbprMaxSize) {
|
this.bbprMaxSize = bbprMaxSize;
|
addValidField("bbprMaxSize");
|
}
|
|
/**
|
* Get 产品库存下限-----bbpr_min_size
|
*/
|
@Column(name = "bbpr_min_size")
|
public Double getBbprMinSize() {
|
return bbprMinSize;
|
}
|
|
/**
|
* Set 产品库存下限-----bbpr_min_size
|
*/
|
public void setBbprMinSize(Double bbprMinSize) {
|
this.bbprMinSize = bbprMinSize;
|
addValidField("bbprMinSize");
|
}
|
|
/**
|
* Get 零售价-----bbpr_price_market
|
*/
|
@Column(name = "bbpr_price_market")
|
public Double getBbprPriceMarket() {
|
return bbprPriceMarket;
|
}
|
|
/**
|
* Set 零售价-----bbpr_price_market
|
*/
|
public void setBbprPriceMarket(Double bbprPriceMarket) {
|
this.bbprPriceMarket = bbprPriceMarket;
|
addValidField("bbprPriceMarket");
|
}
|
|
/**
|
* Get 零售价-----bbpr_price_avg
|
*/
|
@Column(name = "bbpr_price_avg")
|
public Double getBbprPriceAvg() {
|
return bbprPriceAvg;
|
}
|
|
/**
|
* Set 零售价-----bbpr_price_avg
|
*/
|
public void setBbprPriceAvg(Double bbprPriceAvg) {
|
this.bbprPriceAvg = bbprPriceAvg;
|
addValidField("bbprPriceAvg");
|
}
|
|
/**
|
* Get 零售价-----bbpr_price_sale
|
*/
|
@Column(name = "bbpr_price_sale")
|
public Double getBbprPriceSale() {
|
return bbprPriceSale;
|
}
|
|
/**
|
* Set 零售价-----bbpr_price_sale
|
*/
|
public void setBbprPriceSale(Double bbprPriceSale) {
|
this.bbprPriceSale = bbprPriceSale;
|
addValidField("bbprPriceSale");
|
}
|
|
/**
|
* Get 是否零售转院装-----bbpr_is_she_bao
|
*/
|
@Column(name = "bbpr_is_she_bao")
|
public String getBbprIsSheBao() {
|
return bbprIsSheBao;
|
}
|
|
/**
|
* Set 是否零售转院装-----bbpr_is_she_bao
|
*/
|
public void setBbprIsSheBao(String bbprIsSheBao) {
|
this.bbprIsSheBao = bbprIsSheBao;
|
addValidField("bbprIsSheBao");
|
}
|
|
/**
|
* Get 产品状态-----bbpr_state
|
*/
|
@Column(name = "bbpr_state")
|
public String getBbprState() {
|
return bbprState;
|
}
|
|
/**
|
* Set 产品状态-----bbpr_state
|
*/
|
public void setBbprState(String bbprState) {
|
this.bbprState = bbprState;
|
addValidField("bbprState");
|
}
|
|
/**
|
* Get 是否可领用-----bbpr_is_pick
|
*/
|
@Column(name = "bbpr_is_pick")
|
public String getBbprIsPick() {
|
return bbprIsPick;
|
}
|
|
/**
|
* Set 是否可领用-----bbpr_is_pick
|
*/
|
public void setBbprIsPick(String bbprIsPick) {
|
this.bbprIsPick = bbprIsPick;
|
addValidField("bbprIsPick");
|
}
|
|
/**
|
* Get 商品描述-----bbpr_desc
|
*/
|
@Column(name = "bbpr_desc")
|
public String getBbprDesc() {
|
return bbprDesc;
|
}
|
|
/**
|
* Set 商品描述-----bbpr_desc
|
*/
|
public void setBbprDesc(String bbprDesc) {
|
this.bbprDesc = bbprDesc;
|
addValidField("bbprDesc");
|
}
|
|
/**
|
* Get 商品附件-----bbpr_syacc_ids
|
*/
|
@Column(name = "bbpr_syacc_ids")
|
public String getBbprSyaccIds() {
|
return bbprSyaccIds;
|
}
|
|
/**
|
* Set 商品附件-----bbpr_syacc_ids
|
*/
|
public void setBbprSyaccIds(String bbprSyaccIds) {
|
this.bbprSyaccIds = bbprSyaccIds;
|
addValidField("bbprSyaccIds");
|
}
|
|
/**
|
* Get 医院ID-----bbpr_locationid
|
*/
|
@Column(name = "bbpr_locationid")
|
public Integer getBbprLocationid() {
|
return bbprLocationid;
|
}
|
|
/**
|
* Set 医院ID-----bbpr_locationid
|
*/
|
public void setBbprLocationid(Integer bbprLocationid) {
|
this.bbprLocationid = bbprLocationid;
|
addValidField("bbprLocationid");
|
}
|
|
/**
|
* Get 类别ID-----bbpr_bbbr_id
|
*/
|
@Column(name = "bbpr_bbbr_id")
|
public Integer getBbprBbbrId() {
|
return bbprBbbrId;
|
}
|
|
/**
|
* Set 类别ID-----bbpr_bbbr_id
|
*/
|
public void setBbprBbbrId(Integer bbprBbbrId) {
|
this.bbprBbbrId = bbprBbbrId;
|
addValidField("bbprBbbrId");
|
}
|
|
/**
|
* Get creator
|
*/
|
@Column(name = "creator")
|
public String getCreator() {
|
return creator;
|
}
|
|
/**
|
* Set creator
|
*/
|
public void setCreator(String creator) {
|
this.creator = creator;
|
addValidField("creator");
|
}
|
|
/**
|
* Get createTime
|
*/
|
@Column(name = "create_time")
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
/**
|
* Set createTime
|
*/
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
addValidField("createTime");
|
}
|
|
/**
|
* Get modifier
|
*/
|
@Column(name = "modifier")
|
public String getModifier() {
|
return modifier;
|
}
|
|
/**
|
* Set modifier
|
*/
|
public void setModifier(String modifier) {
|
this.modifier = modifier;
|
addValidField("modifier");
|
}
|
|
/**
|
* Get modifyTime
|
*/
|
@Column(name = "modify_time")
|
public Date getModifyTime() {
|
return modifyTime;
|
}
|
|
/**
|
* Set modifyTime
|
*/
|
public void setModifyTime(Date modifyTime) {
|
this.modifyTime = modifyTime;
|
addValidField("modifyTime");
|
}
|
|
/**
|
* Get 产品描述
|
*/
|
@Column(name = "bbpr_remark")
|
public String getBbprRemark() {
|
return bbprRemark;
|
}
|
|
/**
|
* Set 产品描述
|
*/
|
public void setBbprRemark(String bbprRemark) {
|
this.bbprRemark = bbprRemark;
|
addValidField("bbprRemark");
|
}
|
|
/**
|
* Get 产品分类
|
*/
|
@Column(name = "bbpr_sydi_id")
|
public Integer getBbprSydiId() {
|
return bbprSydiId;
|
}
|
|
/**
|
* Set 产品分类
|
*/
|
public void setBbprSydiId(Integer bbprSydiId) {
|
this.bbprSydiId = bbprSydiId;
|
addValidField("bbprSydiId");
|
}
|
|
/**
|
* Get 耗材管理模式
|
*/
|
@Column(name = "bbpr_management_model")
|
public String getBbprManagementModel() {
|
return bbprManagementModel;
|
}
|
|
/**
|
* Set 耗材管理模式
|
*/
|
public void setBbprManagementModel(String bbprManagementModel) {
|
this.bbprManagementModel = bbprManagementModel;
|
addValidField("bbprManagementModel");
|
}
|
|
/**
|
* Get 是否库存管理
|
*/
|
@Column(name = "bbpr_inventory_manage")
|
public String getBbprInventoryManage() {
|
return bbprInventoryManage;
|
}
|
|
/**
|
* Set 是否库存管理
|
*/
|
public void setBbprInventoryManage(String bbprInventoryManage) {
|
this.bbprInventoryManage = bbprInventoryManage;
|
addValidField("bbprInventoryManage");
|
}
|
|
}
|