package com.landy.gum.base.model;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.GenerationType;
|
import javax.persistence.Id;
|
import javax.persistence.Table;
|
|
import com.landy.framework.core.model.BaseModel;
|
|
/**
|
* Model class for BbStuff
|
*/
|
@Entity
|
@Table(name = "bb_stuff")
|
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
|
public class BbStuffModel extends BaseModel {
|
|
//id-----bbst_id
|
private Integer bbstId;
|
//分类_id------bbst_bbbr_id
|
private Integer bbstBbbrId;
|
//名称------bbst_name
|
private String bbstName;
|
//别名/简称------bbst_brief_name
|
private String bbstBriefName;
|
//规格型号------bbst_style
|
private String bbstStyle;
|
//克重------bbst_grammage
|
private String bbstGrammage;
|
//材料基本类别-----bbst_sydi_id
|
private Integer bbstSydiId;
|
//第一单位------bbst_first_unit
|
private String bbstFirstUnit;
|
//数量------bbst_amount
|
private Double bbstAmount;
|
//废品数------bbst_reject_amount
|
private Double bbstRejectAmount;
|
//占用数------bbst_occuption
|
private Double bbstOccuption;
|
//第二单位(卷)------bbst_sec_unit
|
private String bbstSecUnit;
|
//卷数------bbst_sec_amount
|
private Integer bbstSecAmount;
|
//数量上限------bbst_max
|
private Integer bbstMax;
|
//数量下限------bbst_min
|
private Integer bbstMin;
|
//备注------bbst_remark
|
private String bbstRemark;
|
|
/**
|
* Get id-----bbst_id
|
*/
|
@Column(name = "bbst_id")
|
@Id @GeneratedValue(strategy=GenerationType.AUTO)
|
public Integer getBbstId() {
|
return bbstId;
|
}
|
|
/**
|
* Set id-----bbst_id
|
*/
|
public void setBbstId(Integer bbstId) {
|
this.bbstId = bbstId;
|
addValidField("bbstId");
|
}
|
|
/**
|
* Get 分类_id------bbst_bbbr_id
|
*/
|
@Column(name = "bbst_bbbr_id")
|
public Integer getBbstBbbrId() {
|
return bbstBbbrId;
|
}
|
|
/**
|
* Set 分类_id------bbst_bbbr_id
|
*/
|
public void setBbstBbbrId(Integer bbstBbbrId) {
|
this.bbstBbbrId = bbstBbbrId;
|
addValidField("bbstBbbrId");
|
}
|
|
/**
|
* Get 名称------bbst_name
|
*/
|
@Column(name = "bbst_name")
|
public String getBbstName() {
|
return bbstName;
|
}
|
|
/**
|
* Set 名称------bbst_name
|
*/
|
public void setBbstName(String bbstName) {
|
this.bbstName = bbstName;
|
addValidField("bbstName");
|
}
|
|
/**
|
* Get 别名/简称------bbst_brief_name
|
*/
|
@Column(name = "bbst_brief_name")
|
public String getBbstBriefName() {
|
return bbstBriefName;
|
}
|
|
/**
|
* Set 别名/简称------bbst_brief_name
|
*/
|
public void setBbstBriefName(String bbstBriefName) {
|
this.bbstBriefName = bbstBriefName;
|
addValidField("bbstBriefName");
|
}
|
|
/**
|
* Get 规格型号------bbst_style
|
*/
|
@Column(name = "bbst_style")
|
public String getBbstStyle() {
|
return bbstStyle;
|
}
|
|
/**
|
* Set 规格型号------bbst_style
|
*/
|
public void setBbstStyle(String bbstStyle) {
|
this.bbstStyle = bbstStyle;
|
addValidField("bbstStyle");
|
}
|
|
/**
|
* Get 克重------bbst_grammage
|
*/
|
@Column(name = "bbst_grammage")
|
public String getBbstGrammage() {
|
return bbstGrammage;
|
}
|
|
/**
|
* Set 克重------bbst_grammage
|
*/
|
public void setBbstGrammage(String bbstGrammage) {
|
this.bbstGrammage = bbstGrammage;
|
addValidField("bbstGrammage");
|
}
|
|
/**
|
* Get 材料基本类别-----bbst_sydi_id
|
*/
|
@Column(name = "bbst_sydi_id")
|
public Integer getBbstSydiId() {
|
return bbstSydiId;
|
}
|
|
/**
|
* Set 材料基本类别-----bbst_sydi_id
|
*/
|
public void setBbstSydiId(Integer bbstSydiId) {
|
this.bbstSydiId = bbstSydiId;
|
addValidField("bbstSydiId");
|
}
|
|
/**
|
* Get 第一单位------bbst_first_unit
|
*/
|
@Column(name = "bbst_first_unit")
|
public String getBbstFirstUnit() {
|
return bbstFirstUnit;
|
}
|
|
/**
|
* Set 第一单位------bbst_first_unit
|
*/
|
public void setBbstFirstUnit(String bbstFirstUnit) {
|
this.bbstFirstUnit = bbstFirstUnit;
|
addValidField("bbstFirstUnit");
|
}
|
|
/**
|
* Get 数量------bbst_amount
|
*/
|
@Column(name = "bbst_amount")
|
public Double getBbstAmount() {
|
return bbstAmount;
|
}
|
|
/**
|
* Set 数量------bbst_amount
|
*/
|
public void setBbstAmount(Double bbstAmount) {
|
this.bbstAmount = bbstAmount;
|
addValidField("bbstAmount");
|
}
|
|
/**
|
* Get 废品数------bbst_reject_amount
|
*/
|
@Column(name = "bbst_reject_amount")
|
public Double getBbstRejectAmount() {
|
return bbstRejectAmount;
|
}
|
|
/**
|
* Set 废品数------bbst_reject_amount
|
*/
|
public void setBbstRejectAmount(Double bbstRejectAmount) {
|
this.bbstRejectAmount = bbstRejectAmount;
|
addValidField("bbstRejectAmount");
|
}
|
|
/**
|
* Get 占用数------bbst_occuption
|
*/
|
@Column(name = "bbst_occuption")
|
public Double getBbstOccuption() {
|
return bbstOccuption;
|
}
|
|
/**
|
* Set 占用数------bbst_occuption
|
*/
|
public void setBbstOccuption(Double bbstOccuption) {
|
this.bbstOccuption = bbstOccuption;
|
addValidField("bbstOccuption");
|
}
|
|
/**
|
* Get 第二单位(卷)------bbst_sec_unit
|
*/
|
@Column(name = "bbst_sec_unit")
|
public String getBbstSecUnit() {
|
return bbstSecUnit;
|
}
|
|
/**
|
* Set 第二单位(卷)------bbst_sec_unit
|
*/
|
public void setBbstSecUnit(String bbstSecUnit) {
|
this.bbstSecUnit = bbstSecUnit;
|
addValidField("bbstSecUnit");
|
}
|
|
/**
|
* Get 卷数------bbst_sec_amount
|
*/
|
@Column(name = "bbst_sec_amount")
|
public Integer getBbstSecAmount() {
|
return bbstSecAmount;
|
}
|
|
/**
|
* Set 卷数------bbst_sec_amount
|
*/
|
public void setBbstSecAmount(Integer bbstSecAmount) {
|
this.bbstSecAmount = bbstSecAmount;
|
addValidField("bbstSecAmount");
|
}
|
|
/**
|
* Get 数量上限------bbst_max
|
*/
|
@Column(name = "bbst_max")
|
public Integer getBbstMax() {
|
return bbstMax;
|
}
|
|
/**
|
* Set 数量上限------bbst_max
|
*/
|
public void setBbstMax(Integer bbstMax) {
|
this.bbstMax = bbstMax;
|
addValidField("bbstMax");
|
}
|
|
/**
|
* Get 数量下限------bbst_min
|
*/
|
@Column(name = "bbst_min")
|
public Integer getBbstMin() {
|
return bbstMin;
|
}
|
|
/**
|
* Set 数量下限------bbst_min
|
*/
|
public void setBbstMin(Integer bbstMin) {
|
this.bbstMin = bbstMin;
|
addValidField("bbstMin");
|
}
|
|
/**
|
* Get 备注------bbst_remark
|
*/
|
@Column(name = "bbst_remark")
|
public String getBbstRemark() {
|
return bbstRemark;
|
}
|
|
/**
|
* Set 备注------bbst_remark
|
*/
|
public void setBbstRemark(String bbstRemark) {
|
this.bbstRemark = bbstRemark;
|
addValidField("bbstRemark");
|
}
|
|
}
|