liuxiaolong
2019-05-09 0d1d88cdb668e75ea8609417ac18ae19947e9525
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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");
    }
 
}