package com.fs.survey.domain;

import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 字段类型映射配置对象 survey_field_type_mapping
 *
 */
@Data
public class SurveyFieldTypeMapping extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 组件tag名称 */
    @Excel(name = "组件tag名称")
    private String tagName;

    /** 组件图标 */
    @Excel(name = "组件图标")
    private String tagIcon;

    /** 对应数据库类型 */
    @Excel(name = "对应数据库类型")
    private String dbType;

    /** 默认长度 */
    @Excel(name = "默认长度")
    private Integer dbLength;

    /** 默认搜索方式 */
    @Excel(name = "默认搜索方式")
    private String searchType;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 状态：0禁用 1启用 */
    @Excel(name = "状态", readConverterExp = "0=禁用,1=启用")
    private Integer status;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortOrder;

}
