105 lines
1.6 KiB
Java
105 lines
1.6 KiB
Java
package com.youlai.system.model.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
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 fieldComment;
|
|
|
|
/**
|
|
* 表单类型
|
|
*/
|
|
private FormTypeEnum formType;
|
|
|
|
/**
|
|
* 查询方式
|
|
*/
|
|
private QueryTypeEnum queryType;
|
|
|
|
/**
|
|
* 是否在列表显示
|
|
*/
|
|
private Integer isShowInList;
|
|
|
|
/**
|
|
* 是否在表单显示
|
|
*/
|
|
private Integer isShowInForm;
|
|
|
|
/**
|
|
* 是否在查询条件显示
|
|
*/
|
|
private Integer isShowInQuery;
|
|
|
|
/**
|
|
* 是否必填
|
|
*/
|
|
private Integer isRequired;
|
|
|
|
|
|
/**
|
|
* TypeScript类型
|
|
*/
|
|
@TableField(exist = false)
|
|
@JsonIgnore
|
|
private String tsType;
|
|
|
|
|
|
/**
|
|
* 字典类型
|
|
*/
|
|
private String dictType;
|
|
|
|
|
|
} |