package com.jwipc.sys.client.dto;

import cn.hutool.core.util.StrUtil;
import lombok.Data;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class DictDTO {
    private String name;
    private String code;
    private String remark;
    private String typeCode;
    private String codeWithDesc;
    private Integer sort;

    public String getCodeWithDesc() {
        return StrUtil.format("({}){}", this.code, this.name);
    }
}
