All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yes.tools.generator.model.TableVo Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package org.yes.tools.generator.model;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author Co.
 * @name TableModel
 * @date 2023/4/6 10:41
 */
@Data
@Schema(name = "TableVo对象", description = "表")
public class TableVo {

    @Schema(description = "")
    private String id;

    @Schema(description = "菜单id")
    private String menuId;

    @Schema(description = "项目项id")
    private String projectItemId;

    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "字段名")
    private String fieldName;

    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    @ApiModelProperty(value = "前端字段类型")
    private String frontFieldType;

    @ApiModelProperty(value = "字段长度")
    private Integer fieldLength;

    @ApiModelProperty(value = "字段小数点")
    private Integer fieldPoint;

    @ApiModelProperty(value = "是否为空: 1=是 2=否")
    private Integer isNull;

    @ApiModelProperty(value = "注释")
    private String annotation;

    @ApiModelProperty(value = "是否需要搜索")
    private Boolean isSearch;

    @ApiModelProperty(value = "是否单选框")
    private Boolean isSwitch;

    @ApiModelProperty(value = "")
    private List keyValuePairs;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy