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 + "]";
|
}
|
|
|
|
|
}
|