88 lines
1.4 KiB
Java
88 lines
1.4 KiB
Java
package com.youlai.system.model.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import com.youlai.system.common.base.BaseEntity;
|
|
import com.youlai.system.enums.FormTypeEnum;
|
|
import com.youlai.system.enums.QueryTypeEnum;
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
/**
|
|
* 字段生成配置实体
|
|
*
|
|
* @author Ray
|
|
* @since 2.10.0
|
|
*/
|
|
@TableName(value = "gen_field_config")
|
|
@Getter
|
|
@Setter
|
|
public class GenFieldConfig extends BaseEntity {
|
|
|
|
/**
|
|
* 关联的配置ID
|
|
*/
|
|
private Long configId;
|
|
|
|
/**
|
|
* 列名
|
|
*/
|
|
private String columnName;
|
|
|
|
/**
|
|
* 列类型
|
|
*/
|
|
private String columnType;
|
|
|
|
/**
|
|
* 字段长度
|
|
*/
|
|
private String columnLength;
|
|
|
|
/**
|
|
* 字段名称
|
|
*/
|
|
private String fieldName;
|
|
|
|
/**
|
|
* 字段类型
|
|
*/
|
|
private String fieldType;
|
|
|
|
/**
|
|
* 字段描述
|
|
*/
|
|
private String comment;
|
|
|
|
/**
|
|
* 表单类型
|
|
*/
|
|
private FormTypeEnum formType;
|
|
|
|
/**
|
|
* 查询方式
|
|
*/
|
|
private QueryTypeEnum queryType;
|
|
|
|
/**
|
|
* 是否在列表显示
|
|
*/
|
|
private Integer isShowInList;
|
|
|
|
/**
|
|
* 是否在表单显示
|
|
*/
|
|
private Integer isShowInForm;
|
|
|
|
/**
|
|
* 是否在查询条件显示
|
|
*/
|
|
private Integer isShowInQuery;
|
|
|
|
/**
|
|
* 是否必填
|
|
*/
|
|
private Integer isRequired;
|
|
|
|
|
|
} |