package com.landy.gum.salary.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 BbWorkType
|
*/
|
@Entity
|
@Table(name = "bb_work_type")
|
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
|
public class BbWorkTypeModel extends BaseModel {
|
|
//id-----bbwt_id
|
private Integer bbwtId;
|
//工价-----bbwt_price
|
private String bbwtPrice;
|
//工种名称-----bbwt_name
|
private String bbwtName;
|
|
/**
|
* Get id-----bbwt_id
|
*/
|
@Column(name = "bbwt_id")
|
@Id @GeneratedValue(strategy=GenerationType.AUTO)
|
public Integer getBbwtId() {
|
return bbwtId;
|
}
|
|
/**
|
* Set id-----bbwt_id
|
*/
|
public void setBbwtId(Integer bbwtId) {
|
this.bbwtId = bbwtId;
|
addValidField("bbwtId");
|
}
|
|
/**
|
* Get 工价-----bbwt_price
|
*/
|
@Column(name = "bbwt_price")
|
public String getBbwtPrice() {
|
return bbwtPrice;
|
}
|
|
/**
|
* Set 工价-----bbwt_price
|
*/
|
public void setBbwtPrice(String bbwtPrice) {
|
this.bbwtPrice = bbwtPrice;
|
addValidField("bbwtPrice");
|
}
|
|
/**
|
* Get 工种名称-----bbwt_name
|
*/
|
@Column(name = "bbwt_name")
|
public String getBbwtName() {
|
return bbwtName;
|
}
|
|
/**
|
* Set 工种名称-----bbwt_name
|
*/
|
public void setBbwtName(String bbwtName) {
|
this.bbwtName = bbwtName;
|
addValidField("bbwtName");
|
}
|
|
}
|