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

org.yes.tools.generator.model.TableModel 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.models.auth.In;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

    @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 Integer fieldLength;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy