新火炬后端单体项目初始化代码
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
package org.jeecg.modules.base.model;
 
import lombok.Data;
 
@Data
public class FactoryModel {
    private String value;  // 产线ID
    private String text;   // 产线名称
 
    public FactoryModel() {}
 
    public FactoryModel(String value, String text) {
        this.value = value;
        this.text = text;
    }
 
    // getter和setter方法
    public String getValue() {
        return value;
    }
 
    public void setValue(String value) {
        this.value = value;
    }
 
    public String getText() {
        return text;
    }
 
    public void setText(String text) {
        this.text = text;
    }
}