package com.northglass.entity;
|
|
|
|
import java.util.Date;
|
|
import javax.persistence.Entity;
|
import javax.persistence.JoinColumn;
|
import javax.persistence.ManyToOne;
|
import javax.persistence.Table;
|
|
@Entity
|
@Table(name="gmms_pattern_task")
|
public class PatternTask extends IdEntity{
|
private Long rank;
|
private String rawType;
|
private double rawWidth;
|
private double rawHeight;
|
private double rawThickness;
|
private String workState;
|
private String color;
|
private String content;
|
private Date finshTime;
|
private Long groups;
|
|
private Long taskId;
|
private int flag;
|
private RawFile rawFile;
|
|
public int getFlag() {
|
return flag;
|
}
|
public void setFlag(int flag) {
|
this.flag = flag;
|
}
|
public Long getGroups() {
|
return groups;
|
}
|
public void setGroups(Long groups) {
|
this.groups = groups;
|
}
|
public Long getRank() {
|
return rank;
|
}
|
public void setRank(Long rank) {
|
this.rank = rank;
|
}
|
public Long getTaskId() {
|
return taskId;
|
}
|
public void setTaskId(Long taskId) {
|
this.taskId = taskId;
|
}
|
public String getRawType() {
|
return rawType;
|
}
|
public void setRawType(String rawType) {
|
this.rawType = rawType;
|
}
|
public String getWorkState() {
|
return workState;
|
}
|
public void setWorkState(String workState) {
|
this.workState = workState;
|
}
|
|
|
public String getColor() {
|
return color;
|
}
|
|
public void setColor(String color) {
|
this.color = color;
|
}
|
|
public double getRawWidth() {
|
return rawWidth;
|
}
|
|
public void setRawWidth(double rawWidth) {
|
this.rawWidth = rawWidth;
|
}
|
|
public double getRawHeight() {
|
return rawHeight;
|
}
|
|
public void setRawHeight(double rawHeight) {
|
this.rawHeight = rawHeight;
|
}
|
|
public double getRawThickness() {
|
return rawThickness;
|
}
|
|
public void setRawThickness(double rawThickness) {
|
this.rawThickness = rawThickness;
|
}
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
public Date getFinshTime() {
|
return finshTime;
|
}
|
|
public void setFinshTime(Date finshTime) {
|
this.finshTime = finshTime;
|
}
|
|
|
|
@ManyToOne
|
@JoinColumn(name="raw_id")
|
public RawFile getRawFile() {
|
return rawFile;
|
}
|
|
public void setRawFile(RawFile rawFile) {
|
this.rawFile = rawFile;
|
}
|
|
|
}
|