jinlin
2024-02-21 b27d06b8f0b805efd16e28fd80a57a0ed8a053ce
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
/**
 * Copyright (c) 2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有,侵权必究!
 */
 
package com.zt.modules.sys.dto;
 
import com.zt.core.sys.dto.DictItemDto;
import lombok.Data;
 
/**
 * 字典数据
 *
 * @author hehz
 */
@Data
public class DictEnumItemDto extends DictItemDto {
    private String name;
    private Object value;
 
    public DictEnumItemDto(String name, String dictLabel, Object value) {
        this.name = name;
        this.value = value;
        this.setDictLabel(dictLabel);
        this.setDictValue(String.valueOf(value));
    }
}