zhangherong
2025-07-01 02ae7138146e6964c4b5875930cbb8896ad840fc
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() + "]";
    }
}