wangting
2025-01-03 6f7f3834f66b08bed7af331ce1a168d6cd89292d
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
import com.vci.starter.web.annotation.Transient;
import com.vci.starter.web.annotation.VciBtmType;
import com.vci.starter.web.annotation.VciUseRefer;
import com.vci.starter.web.constant.FrameWorkLcStatusConstant;
import com.vci.starter.web.model.BaseModel;
 
/**
 * @Description
 * @Author dangsn
 * @Date 2024/12/9 11:05
 */
@VciBtmType(name = "part", lifeCycle = FrameWorkLcStatusConstant.RELEASE_LIFE_CYCLE)
public class PartDO extends BaseModel {
 
    private String code;
 
    private int partType;
 
    private double weight;
 
    @VciUseRefer("workcontext")
    private String ownProduct;
 
    private double thickNess;
 
    @Transient(referColumn = "ownProduct.name")
    private String productName;
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public int getPartType() {
        return partType;
    }
 
    public void setPartType(int partType) {
        this.partType = partType;
    }
 
    public double getWeight() {
        return weight;
    }
 
    public void setWeight(double weight) {
        this.weight = weight;
    }
 
    public String getOwnProduct() {
        return ownProduct;
    }
 
    public void setOwnProduct(String ownProduct) {
        this.ownProduct = ownProduct;
    }
 
    public double getThickNess() {
        return thickNess;
    }
 
    public void setThickNess(double thickNess) {
        this.thickNess = thickNess;
    }
 
    public String getProductName() {
        return productName;
    }
 
    public void setProductName(String productName) {
        this.productName = productName;
    }
}