cuilei
8 天以前 58020f3d711d4baa16ef092c2ea826071c7d23b9
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
package org.jeecg.modules.eam.vo;
 
import lombok.Data;
import org.jeecg.modules.eam.entity.EamEquipment;
 
import java.io.Serializable;
 
@Data
public class EquipmentSearchResult implements Serializable {
    /**
     * 字典value
     */
    private String value;
    /**
     * 字典文本
     */
    private String text;
 
    public EquipmentSearchResult() {
    }
 
    public EquipmentSearchResult(EamEquipment eamEquipment) {
        this.value = eamEquipment.getId();
        this.text = eamEquipment.getEquipmentCode() + "[" + eamEquipment.getEquipmentName() + "]";
    }
}