package zy.cloud.wms.manager.entity;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.io.Serializable;
|
|
@Data
|
@NoArgsConstructor
|
@TableName("sys_flow_status")
|
public class FlowStatus implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 唯一id
|
*/
|
@ApiModelProperty(value= "唯一id")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 节点类型
|
*/
|
@ApiModelProperty(value= "节点类型")
|
private Integer type;
|
|
/**
|
* 节点名称
|
*/
|
@ApiModelProperty(value= "节点名称")
|
private String name;
|
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value= "备注")
|
private String memo;
|
|
@ApiModelProperty(value= "")
|
private String str1;
|
|
@ApiModelProperty(value= "")
|
private String str2;
|
|
@ApiModelProperty(value= "")
|
private String str3;
|
|
@TableField("weight_num")
|
private Integer weightNum;
|
|
/**
|
* 0:常规项目
|
* 1:集成项目
|
*/
|
@TableField("is_asrs")
|
private Integer isAsrs;
|
|
|
// FlowStatus flowStatus = new FlowStatus(
|
// null, // 节点类型
|
// null, // 节点名称
|
// null, // 备注
|
// null, //
|
// null, //
|
// null //
|
// );
|
|
public String getIsAsrs$(){
|
if (this.isAsrs == 0) {
|
return "常规项目";
|
}else {
|
return "集成项目";
|
}
|
}
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getMemo() {
|
return memo;
|
}
|
|
public void setMemo(String memo) {
|
this.memo = memo;
|
}
|
|
public String getStr1() {
|
return str1;
|
}
|
|
public void setStr1(String str1) {
|
this.str1 = str1;
|
}
|
|
public String getStr2() {
|
return str2;
|
}
|
|
public void setStr2(String str2) {
|
this.str2 = str2;
|
}
|
|
public String getStr3() {
|
return str3;
|
}
|
|
public void setStr3(String str3) {
|
this.str3 = str3;
|
}
|
|
|
}
|