package cn.stylefeng.team.view.api.pojo;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class ViewSearchField {

    @ChineseDescription("字段id，返回给前端用")
    private String fieldId;

    @ChineseDescription("字段名称，例如：searchText")
    private String fieldName;

    @ChineseDescription("列展示名称，例如：搜索名称")
    private String showName;

    @ChineseDescription("条件输入类型：text-文本输入，dict-字典选择")
    private String conditionInputType;

    @ChineseDescription("选择的字典类型id")
    private Long dictTypeId;

    @ChineseDescription("字典取值类型：id-字典id，code-字典编码")
    private String dictDataType;

    @ChineseDescription("是否在查询条件显示")
    private Boolean searchShowFlag;

}
