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 BbProductPartner
|
*/
|
@Entity
|
@Table(name = "bb_product_partner")
|
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
|
public class BbProductPartnerModel extends BaseModel implements OperationLog {
|
|
//bbppId
|
private String bbppId;
|
//产品关联id
|
private String bbppBbprId;
|
//供应商关联id
|
private String bbppBbbpId;
|
//是否有效
|
private String bbppState;
|
//采购或销售
|
private String bbppType;
|
//价格
|
private String bbppPrice;
|
//备注
|
private String bbppRemark;
|
//医院
|
private Integer bbppLocationid;
|
//creator
|
private String creator;
|
//createTime
|
private Date createTime;
|
//modifier
|
private String modifier;
|
//modifyTime
|
private Date modifyTime;
|
|
/**
|
* Get bbppId
|
*/
|
@Column(name = "bbpp_id")
|
@Id @GeneratedValue(generator = "UUIDGenerator")
|
public String getBbppId() {
|
return bbppId;
|
}
|
|
/**
|
* Set bbppId
|
*/
|
public void setBbppId(String bbppId) {
|
this.bbppId = bbppId;
|
addValidField("bbppId");
|
}
|
|
/**
|
* Get 产品关联id
|
*/
|
@Column(name = "bbpp_bbpr_id")
|
public String getBbppBbprId() {
|
return bbppBbprId;
|
}
|
|
/**
|
* Set 产品关联id
|
*/
|
public void setBbppBbprId(String bbppBbprId) {
|
this.bbppBbprId = bbppBbprId;
|
addValidField("bbppBbprId");
|
}
|
|
/**
|
* Get 供应商关联id
|
*/
|
@Column(name = "bbpp_bbbp_id")
|
public String getBbppBbbpId() {
|
return bbppBbbpId;
|
}
|
|
/**
|
* Set 供应商关联id
|
*/
|
public void setBbppBbbpId(String bbppBbbpId) {
|
this.bbppBbbpId = bbppBbbpId;
|
addValidField("bbppBbbpId");
|
}
|
|
/**
|
* Get 是否有效
|
*/
|
@Column(name = "bbpp_state")
|
public String getBbppState() {
|
return bbppState;
|
}
|
|
/**
|
* Set 是否有效
|
*/
|
public void setBbppState(String bbppState) {
|
this.bbppState = bbppState;
|
addValidField("bbppState");
|
}
|
|
/**
|
* Get 采购或销售
|
*/
|
@Column(name = "bbpp_type")
|
public String getBbppType() {
|
return bbppType;
|
}
|
|
/**
|
* Set 采购或销售
|
*/
|
public void setBbppType(String bbppType) {
|
this.bbppType = bbppType;
|
addValidField("bbppType");
|
}
|
|
/**
|
* Get 价格
|
*/
|
@Column(name = "bbpp_price")
|
public String getBbppPrice() {
|
return bbppPrice;
|
}
|
|
/**
|
* Set 价格
|
*/
|
public void setBbppPrice(String bbppPrice) {
|
this.bbppPrice = bbppPrice;
|
addValidField("bbppPrice");
|
}
|
|
/**
|
* Get 备注
|
*/
|
@Column(name = "bbpp_remark")
|
public String getBbppRemark() {
|
return bbppRemark;
|
}
|
|
/**
|
* Set 备注
|
*/
|
public void setBbppRemark(String bbppRemark) {
|
this.bbppRemark = bbppRemark;
|
addValidField("bbppRemark");
|
}
|
|
/**
|
* Get 医院
|
*/
|
@Column(name = "bbpp_locationid")
|
public Integer getBbppLocationid() {
|
return bbppLocationid;
|
}
|
|
/**
|
* Set 医院
|
*/
|
public void setBbppLocationid(Integer bbppLocationid) {
|
this.bbppLocationid = bbppLocationid;
|
addValidField("bbppLocationid");
|
}
|
|
/**
|
* 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");
|
}
|
|
}
|