package org.nl.system.service.generator.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: lyd
 * @Description: 字段信息
 * @Date: 2023/5/3
 */
@Data
public class ColumnInfo {
    @ApiModelProperty(value = "数据库字段名称")
    private String column_name;

    @ApiModelProperty(value = "数据库字段类型")
    private String column_type;

    @ApiModelProperty(value = "数据库字段键类型")
    private String key_type;

    @ApiModelProperty(value = "字段额外的参数")
    private String extra;

    @ApiModelProperty(value = "数据库字段描述")
    private String remark;

    @ApiModelProperty(value = "是否必填")
    private Boolean not_null;

    @ApiModelProperty(value = "是否在列表显示")
    private Boolean list_show;

    @ApiModelProperty(value = "是否表单显示")
    private Boolean form_show;

    @ApiModelProperty(value = "表单类型")
    private String form_type;

    @ApiModelProperty(value = "查询 1:模糊 2：精确")
    private String query_type;

    @ApiModelProperty(value = "字典名称")
    private String dict_name;

    @ApiModelProperty(value = "日期注解")
    private String date_annotation;
}
