#
mrzhssss
2022-09-05 2a6ffd8bfdb3d8234a55e7fabe71999f1dba4fd9
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
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;
    }
 
 
}