严智鑫
2025-11-13 945bc394f40d8af1072a53da9a94f24207124e6d
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
package com.northglass.entity;
 
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
 
@Entity
@Table(name="gmms_cutting_opt_pattern")
public class CuttingOptPattern extends IdEntity {
 
    private double width;
    private double height;
    private double thickness;
    private int pieces;
    private String cutting_info;
    private String color;
    private String state;
    private String txt_name;//txt文件的标识
    private String groups;//分组
    private OptPattern optPattern;//指向optpattern
    private Long raw_package_txt_id;//指向rawpackagetxt
    
 
    @ManyToOne
    @JoinColumn(name="opt_pattern_id")
    public OptPattern getOptPattern() {
        return optPattern;
    }
 
    public void setOptPattern(OptPattern optPattern) {
        this.optPattern = optPattern;
    }
 
    public Long getRaw_package_txt_id() {
        return raw_package_txt_id;
    }
 
    public void setRaw_package_txt_id(Long raw_package_txt_id) {
        this.raw_package_txt_id = raw_package_txt_id;
    }
 
    public double getWidth() {
        return width;
    }
 
    public void setWidth(double width) {
        this.width = width;
    }
 
 
    public double getHeight() {
        return height;
    }
 
    public void setHeight(double height) {
        this.height = height;
    }
 
    public double getThickness() {
        return thickness;
    }
 
 
    public void setThickness(double thickness) {
        this.thickness = thickness;
    }
 
    
 
    public int getPieces() {
        return pieces;
    }
 
    public void setPieces(int pieces) {
        this.pieces = pieces;
    }
 
    
 
    public String getCutting_info() {
        return cutting_info;
    }
 
    public void setCutting_info(String cutting_info) {
        this.cutting_info = cutting_info;
    }
 
    public String getColor() {
        return color;
    }
 
    public void setColor(String color) {
        this.color = color;
    }
 
    public String getState() {
        return state;
    }
 
    public void setState(String state) {
        this.state = state;
    }
 
    public String getTxt_name() {
        return txt_name;
    }
 
    public void setTxt_name(String txt_name) {
        this.txt_name = txt_name;
    }
 
    public String getGroups() {
        return groups;
    }
 
    public void setGroups(String groups) {
        this.groups = groups;
    }
 
 
    
    public CuttingOptPattern() {
        super();
    }
 
    public CuttingOptPattern(double width, double height, double thickness, int pieces, String cutting_info,
            String color, String state, String txt_name, String groups, OptPattern optPattern,
            Long raw_package_txt_id) {
        super();
        this.width = width;
        this.height = height;
        this.thickness = thickness;
        this.pieces = pieces;
        this.cutting_info = cutting_info;
        this.color = color;
        this.state = state;
        this.txt_name = txt_name;
        this.groups = groups;
        this.optPattern = optPattern;
        this.raw_package_txt_id = raw_package_txt_id;
    }
 
    @Override
    public String toString() {
        return "CuttingOptPattern [width=" + width + ", height=" + height + ", thickness=" + thickness + ", pieces="
                + pieces + ", cutting_info=" + cutting_info + ", color=" + color + ", state=" + state + ", txt_name="
                + txt_name + ", groups=" + groups + ", optPattern=" + optPattern + ", raw_package_txt_id="
                + raw_package_txt_id + "]";
    }
 
    
}