Browse Source

升级2.0.0

master
陈裕财 2 years ago
parent
commit
41675a5ec1
  1. 33
      mdp-form/src/main/java/com/mdp/form/entity/FormField.java

33
mdp-form/src/main/java/com/mdp/form/entity/FormField.java

@ -1,19 +1,18 @@
package com.mdp.form.entity; package com.mdp.form.entity;
import lombok.Data; import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.mdp.core.dao.annotation.TableIds; import com.mdp.core.dao.annotation.TableIds;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.type.Alias;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal; import java.math.BigDecimal;
/** /**
* 组织 com 顶级模块 mdp 大模块 form 小模块 <br>
* 实体 FormField所有属性名: <br>
* "formId","表单编号","id","主键","fieldId","字段编号对应数据库","fieldTitle","字段显示内容","dictCode","下拉时候关联的分组","fieldType","字段类型","fieldLength","字段长度","defaultValue","默认值","isMultiple","是否多选","placeholder","输入框占位文本","isRequired","是否必输","isDict","是否关联基础数据","fieldIdCamel","字段驼峰命名","remark","字段备注","extFieldType","扩展信息","toFlow","是否提交到工作流","flowFieldId","提交到工作流的变量编号","isBizKey","是否是业务主键111前面两个1代表创建人及创建部门,后面一个1代表字段本身,0为不是主键,如000代表该表单不设置主键,001代表字段本身作为主键,创建人创建部门不是主键,100代表创建人为唯一主键,110代表创建人创建部门为主键,其它字段联合主键的话,按字段顺序排序","seqNo","显示顺序","groupId","归属组编号-用于解决多个tab页,或者多个子页面的问题";<br>
* 当前主键(包括多主键):<br>
* id;<br>
* @author code-gen
* @since 2023-9-14
*/ */
@Data @Data
@TableName("form_field") @TableName("form_field")
@ -22,66 +21,90 @@ public class FormField implements java.io.Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@TableId(type = IdType.ASSIGN_ID) @TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="主键,主键",allowEmptyValue=true,example="",allowableValues="")
String id; String id;
@ApiModelProperty(notes="表单编号",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="表单编号",allowEmptyValue=true,example="",allowableValues="")
String formId; String formId;
@ApiModelProperty(notes="字段编号对应数据库",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="字段编号对应数据库",allowEmptyValue=true,example="",allowableValues="")
String fieldId; String fieldId;
@ApiModelProperty(notes="字段显示内容",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="字段显示内容",allowEmptyValue=true,example="",allowableValues="")
String fieldTitle; String fieldTitle;
@ApiModelProperty(notes="下拉时候关联的分组",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="下拉时候关联的分组",allowEmptyValue=true,example="",allowableValues="")
String dictCode; String dictCode;
@ApiModelProperty(notes="字段类型",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="字段类型",allowEmptyValue=true,example="",allowableValues="")
String fieldType; String fieldType;
@ApiModelProperty(notes="字段长度",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="字段长度",allowEmptyValue=true,example="",allowableValues="")
BigDecimal fieldLength; BigDecimal fieldLength;
@ApiModelProperty(notes="默认值",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="默认值",allowEmptyValue=true,example="",allowableValues="")
String defaultValue; String defaultValue;
@ApiModelProperty(notes="是否多选",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="是否多选",allowEmptyValue=true,example="",allowableValues="")
String isMultiple; String isMultiple;
@ApiModelProperty(notes="输入框占位文本",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="输入框占位文本",allowEmptyValue=true,example="",allowableValues="")
String placeholder; String placeholder;
@ApiModelProperty(notes="是否必输",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="是否必输",allowEmptyValue=true,example="",allowableValues="")
String isRequired; String isRequired;
@ApiModelProperty(notes="是否关联基础数据",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="是否关联基础数据",allowEmptyValue=true,example="",allowableValues="")
String isDict; String isDict;
@ApiModelProperty(notes="字段驼峰命名",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="字段驼峰命名",allowEmptyValue=true,example="",allowableValues="")
String fieldIdCamel; String fieldIdCamel;
@ApiModelProperty(notes="字段备注",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="字段备注",allowEmptyValue=true,example="",allowableValues="")
String remark; String remark;
@ApiModelProperty(notes="扩展信息",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="扩展信息",allowEmptyValue=true,example="",allowableValues="")
String extFieldType; String extFieldType;
@ApiModelProperty(notes="是否提交到工作流",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="是否提交到工作流",allowEmptyValue=true,example="",allowableValues="")
String toFlow; String toFlow;
@ApiModelProperty(notes="提交到工作流的变量编号",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="提交到工作流的变量编号",allowEmptyValue=true,example="",allowableValues="")
String flowFieldId; String flowFieldId;
@ApiModelProperty(notes="是否是业务主键111前面两个1代表创建人及创建部门,后面一个1代表字段本身,0为不是主键,如000代表该表单不设置主键,001代表字段本身作为主键,创建人创建部门不是主键,100代表创建人为唯一主键,110代表创建人创建部门为主键,其它字段联合主键的话,按字段顺序排序",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="是否是业务主键111前面两个1代表创建人及创建部门,后面一个1代表字段本身,0为不是主键,如000代表该表单不设置主键,001代表字段本身作为主键,创建人创建部门不是主键,100代表创建人为唯一主键,110代表创建人创建部门为主键,其它字段联合主键的话,按字段顺序排序",allowEmptyValue=true,example="",allowableValues="")
String isBizKey; String isBizKey;
@ApiModelProperty(notes="显示顺序",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="显示顺序",allowEmptyValue=true,example="",allowableValues="")
BigDecimal seqNo; BigDecimal seqNo;
@ApiModelProperty(notes="归属组编号-用于解决多个tab页,或者多个子页面的问题",allowEmptyValue=true,example="",allowableValues="") @ApiModelProperty(notes="归属组编号-用于解决多个tab页,或者多个子页面的问题",allowEmptyValue=true,example="",allowableValues="")
String groupId; String groupId;
@ApiModelProperty(notes="展示风格origin-原生、tag-标签、x-综合",allowEmptyValue=true,example="",allowableValues="")
String showStyle;
/** /**
*主键 *主键
**/ **/

Loading…
Cancel
Save