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;
|
//产品编码
|
private String bbprSn;
|
//中文名称
|
private String bbprName;
|
//英文名称
|
private String bbprEnName;
|
//计量单位
|
private String bbprUnit;
|
//规格
|
private String bbprStyle;
|
//品牌
|
private String bbprBrand;
|
//产品属性
|
private String bbprAttribute;
|
//产品用途
|
private String bbprUse;
|
//产品系列
|
private String bbprSeries;
|
//订购数量限制
|
private Double bbprPurchaseMax;
|
//库存上限
|
private Double bbprInventoryMax;
|
//库存下限
|
private Double bbprInventoryMin;
|
//售价-
|
private Double bbprSalePrice;
|
//是否纳入社保
|
private String bbprIntoSocialSecurity;
|
//产品状态
|
private String bbprState;
|
//是否可领用
|
private String bbprPickable;
|
//产品描述
|
private String bbprDesc;
|
//产品附件
|
private String bbprSyaccIds;
|
//医院ID
|
private Integer bbprLocationid;
|
//类别ID
|
private Integer bbprBbbrId;
|
//creator
|
private String creator;
|
//createTime
|
private Date createTime;
|
//modifier
|
private String modifier;
|
//modifyTime
|
private Date modifyTime;
|
//产品分类
|
private Integer bbprSydiId;
|
//耗材管理模式
|
private String bbprManagementModel;
|
//是否库存管理
|
private String bbprIntoInventoryManage;
|
//产品码
|
private String bbprCode;
|
//产品备用码1
|
private String bbprCode1;
|
//产品备用码2
|
private String bbprCode2;
|
//是否纳入条码管理
|
private String bbprIntoBarcode;
|
|
/**
|
* 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 产品编码
|
*/
|
@Column(name = "bbpr_sn")
|
public String getBbprSn() {
|
return bbprSn;
|
}
|
|
/**
|
* Set 产品编码
|
*/
|
public void setBbprSn(String bbprSn) {
|
this.bbprSn = bbprSn;
|
addValidField("bbprSn");
|
}
|
|
/**
|
* Get 中文名称
|
*/
|
@Column(name = "bbpr_name")
|
public String getBbprName() {
|
return bbprName;
|
}
|
|
/**
|
* Set 中文名称
|
*/
|
public void setBbprName(String bbprName) {
|
this.bbprName = bbprName;
|
addValidField("bbprName");
|
}
|
|
/**
|
* Get 英文名称
|
*/
|
@Column(name = "bbpr_en_name")
|
public String getBbprEnName() {
|
return bbprEnName;
|
}
|
|
/**
|
* Set 英文名称
|
*/
|
public void setBbprEnName(String bbprEnName) {
|
this.bbprEnName = bbprEnName;
|
addValidField("bbprEnName");
|
}
|
|
/**
|
* Get 计量单位
|
*/
|
@Column(name = "bbpr_unit")
|
public String getBbprUnit() {
|
return bbprUnit;
|
}
|
|
/**
|
* Set 计量单位
|
*/
|
public void setBbprUnit(String bbprUnit) {
|
this.bbprUnit = bbprUnit;
|
addValidField("bbprUnit");
|
}
|
|
/**
|
* Get 规格
|
*/
|
@Column(name = "bbpr_style")
|
public String getBbprStyle() {
|
return bbprStyle;
|
}
|
|
/**
|
* Set 规格
|
*/
|
public void setBbprStyle(String bbprStyle) {
|
this.bbprStyle = bbprStyle;
|
addValidField("bbprStyle");
|
}
|
|
/**
|
* Get 品牌
|
*/
|
@Column(name = "bbpr_brand")
|
public String getBbprBrand() {
|
return bbprBrand;
|
}
|
|
/**
|
* Set 品牌
|
*/
|
public void setBbprBrand(String bbprBrand) {
|
this.bbprBrand = bbprBrand;
|
addValidField("bbprBrand");
|
}
|
|
/**
|
* Get 产品属性
|
*/
|
@Column(name = "bbpr_attribute")
|
public String getBbprAttribute() {
|
return bbprAttribute;
|
}
|
|
/**
|
* Set 产品属性
|
*/
|
public void setBbprAttribute(String bbprAttribute) {
|
this.bbprAttribute = bbprAttribute;
|
addValidField("bbprAttribute");
|
}
|
|
/**
|
* Get 产品用途
|
*/
|
@Column(name = "bbpr_use")
|
public String getBbprUse() {
|
return bbprUse;
|
}
|
|
/**
|
* Set 产品用途
|
*/
|
public void setBbprUse(String bbprUse) {
|
this.bbprUse = bbprUse;
|
addValidField("bbprUse");
|
}
|
|
/**
|
* Get 产品系列
|
*/
|
@Column(name = "bbpr_series")
|
public String getBbprSeries() {
|
return bbprSeries;
|
}
|
|
/**
|
* Set 产品系列
|
*/
|
public void setBbprSeries(String bbprSeries) {
|
this.bbprSeries = bbprSeries;
|
addValidField("bbprSeries");
|
}
|
|
/**
|
* Get 订购数量限制
|
*/
|
@Column(name = "bbpr_purchase_max")
|
public Double getBbprPurchaseMax() {
|
return bbprPurchaseMax;
|
}
|
|
/**
|
* Set 订购数量限制
|
*/
|
public void setBbprPurchaseMax(Double bbprPurchaseMax) {
|
this.bbprPurchaseMax = bbprPurchaseMax;
|
addValidField("bbprPurchaseMax");
|
}
|
|
/**
|
* Get 库存上限
|
*/
|
@Column(name = "bbpr_inventory_max")
|
public Double getBbprInventoryMax() {
|
return bbprInventoryMax;
|
}
|
|
/**
|
* Set 库存上限
|
*/
|
public void setBbprInventoryMax(Double bbprInventoryMax) {
|
this.bbprInventoryMax = bbprInventoryMax;
|
addValidField("bbprInventoryMax");
|
}
|
|
/**
|
* Get 库存下限
|
*/
|
@Column(name = "bbpr_inventory_min")
|
public Double getBbprInventoryMin() {
|
return bbprInventoryMin;
|
}
|
|
/**
|
* Set 库存下限
|
*/
|
public void setBbprInventoryMin(Double bbprInventoryMin) {
|
this.bbprInventoryMin = bbprInventoryMin;
|
addValidField("bbprInventoryMin");
|
}
|
|
/**
|
* Get 售价-
|
*/
|
@Column(name = "bbpr_sale_price")
|
public Double getBbprSalePrice() {
|
return bbprSalePrice;
|
}
|
|
/**
|
* Set 售价-
|
*/
|
public void setBbprSalePrice(Double bbprSalePrice) {
|
this.bbprSalePrice = bbprSalePrice;
|
addValidField("bbprSalePrice");
|
}
|
|
/**
|
* Get 是否纳入社保
|
*/
|
@Column(name = "bbpr_into_social_security")
|
public String getBbprIntoSocialSecurity() {
|
return bbprIntoSocialSecurity;
|
}
|
|
/**
|
* Set 是否纳入社保
|
*/
|
public void setBbprIntoSocialSecurity(String bbprIntoSocialSecurity) {
|
this.bbprIntoSocialSecurity = bbprIntoSocialSecurity;
|
addValidField("bbprIntoSocialSecurity");
|
}
|
|
/**
|
* Get 产品状态
|
*/
|
@Column(name = "bbpr_state")
|
public String getBbprState() {
|
return bbprState;
|
}
|
|
/**
|
* Set 产品状态
|
*/
|
public void setBbprState(String bbprState) {
|
this.bbprState = bbprState;
|
addValidField("bbprState");
|
}
|
|
/**
|
* Get 是否可领用
|
*/
|
@Column(name = "bbpr_pickable")
|
public String getBbprPickable() {
|
return bbprPickable;
|
}
|
|
/**
|
* Set 是否可领用
|
*/
|
public void setBbprPickable(String bbprPickable) {
|
this.bbprPickable = bbprPickable;
|
addValidField("bbprPickable");
|
}
|
|
/**
|
* Get 产品描述
|
*/
|
@Column(name = "bbpr_desc")
|
public String getBbprDesc() {
|
return bbprDesc;
|
}
|
|
/**
|
* Set 产品描述
|
*/
|
public void setBbprDesc(String bbprDesc) {
|
this.bbprDesc = bbprDesc;
|
addValidField("bbprDesc");
|
}
|
|
/**
|
* Get 产品附件
|
*/
|
@Column(name = "bbpr_syacc_ids")
|
public String getBbprSyaccIds() {
|
return bbprSyaccIds;
|
}
|
|
/**
|
* Set 产品附件
|
*/
|
public void setBbprSyaccIds(String bbprSyaccIds) {
|
this.bbprSyaccIds = bbprSyaccIds;
|
addValidField("bbprSyaccIds");
|
}
|
|
/**
|
* Get 医院ID
|
*/
|
@Column(name = "bbpr_locationid")
|
public Integer getBbprLocationid() {
|
return bbprLocationid;
|
}
|
|
/**
|
* Set 医院ID
|
*/
|
public void setBbprLocationid(Integer bbprLocationid) {
|
this.bbprLocationid = bbprLocationid;
|
addValidField("bbprLocationid");
|
}
|
|
/**
|
* Get 类别ID
|
*/
|
@Column(name = "bbpr_bbbr_id")
|
public Integer getBbprBbbrId() {
|
return bbprBbbrId;
|
}
|
|
/**
|
* Set 类别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_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_into_inventory_manage")
|
public String getBbprIntoInventoryManage() {
|
return bbprIntoInventoryManage;
|
}
|
|
/**
|
* Set 是否库存管理
|
*/
|
public void setBbprIntoInventoryManage(String bbprIntoInventoryManage) {
|
this.bbprIntoInventoryManage = bbprIntoInventoryManage;
|
addValidField("bbprIntoInventoryManage");
|
}
|
|
/**
|
* Get 产品码
|
*/
|
@Column(name = "bbpr_code")
|
public String getBbprCode() {
|
return bbprCode;
|
}
|
|
/**
|
* Set 产品码
|
*/
|
public void setBbprCode(String bbprCode) {
|
this.bbprCode = bbprCode;
|
addValidField("bbprCode");
|
}
|
|
/**
|
* Get 产品备用码1
|
*/
|
@Column(name = "bbpr_code1")
|
public String getBbprCode1() {
|
return bbprCode1;
|
}
|
|
/**
|
* Set 产品备用码1
|
*/
|
public void setBbprCode1(String bbprCode1) {
|
this.bbprCode1 = bbprCode1;
|
addValidField("bbprCode1");
|
}
|
|
/**
|
* Get 产品备用码2
|
*/
|
@Column(name = "bbpr_code2")
|
public String getBbprCode2() {
|
return bbprCode2;
|
}
|
|
/**
|
* Set 产品备用码2
|
*/
|
public void setBbprCode2(String bbprCode2) {
|
this.bbprCode2 = bbprCode2;
|
addValidField("bbprCode2");
|
}
|
|
/**
|
* Get 是否纳入条码管理
|
*/
|
@Column(name = "bbpr_into_barcode")
|
public String getBbprIntoBarcode() {
|
return bbprIntoBarcode;
|
}
|
|
/**
|
* Set 是否纳入条码管理
|
*/
|
public void setBbprIntoBarcode(String bbprIntoBarcode) {
|
this.bbprIntoBarcode = bbprIntoBarcode;
|
addValidField("bbprIntoBarcode");
|
}
|
|
}
|