严智鑫
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
package com.northglass.entity;
 
import javax.persistence.Entity;
import javax.persistence.Table;
 
@Entity
@Table(name="gmms_prod_line_state")
public class ProdLineState extends IdEntity{
    
    private int line;
    private boolean state;//true代表该产线上有任务
    private boolean standalonestate;//表示当前产线是否处于单机模式(TRUE代表‘是’)
    
    public int getLine() {
        return line;
    }
    public void setLine(int line) {
        this.line = line;
    }
    public boolean isState() {
        return state;
    }
    public void setState(boolean state) {
        this.state = state;
    }
    public boolean isStandalonestate() {
        return standalonestate;
    }
    public void setStandalonestate(boolean standalonestate) {
        this.standalonestate = standalonestate;
    }
    
    public ProdLineState() {
        super();
    }
    public ProdLineState(int line, boolean state) {
        super();
        this.line = line;
        this.state = state;
    }
    
    public ProdLineState(int line, boolean state, boolean standalonestate) {
        super();
        this.line = line;
        this.state = state;
        this.standalonestate = standalonestate;
    }
    @Override
    public String toString() {
        return "ProdLineState [line=" + line + ", state=" + state + ", standalonestate=" + standalonestate + "]";
    }
    
    
    
    
}