|
|
@ -1,84 +1,110 @@ |
|
|
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.util.Date; |
|
|
import java.util.Date; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 组织 com 顶级模块 mdp 大模块 form 小模块 <br> |
|
|
|
|
|
* 实体 FormDef所有属性名: <br> |
|
|
|
|
|
* "id","主键","tableName","表名","tableOwner","表名拥有者","isCreateTable","是否已经创建库表","formName","表单名称","userid","创建人","deptid","创建部门","formType","表单类型","isTemplate","是否为模板","bizType","业务分类","ctime","创建日期","branchId","机构编号","categoryId","分类编号","tagIds","标签编号列表","tagNames","标签名字列表","username","创建人姓名","deptName","创建部门","groupsJson","表单元素分组","pks","主键列表,逗号分割";<br> |
|
|
|
|
|
* 当前主键(包括多主键):<br> |
|
|
|
|
|
* id;<br> |
|
|
|
|
|
|
|
|
* @author code-gen |
|
|
|
|
|
* @since 2023-9-16 |
|
|
*/ |
|
|
*/ |
|
|
@Data |
|
|
|
|
|
|
|
|
@Data |
|
|
@TableName("form_def") |
|
|
@TableName("form_def") |
|
|
@ApiModel(description="表单定义") |
|
|
@ApiModel(description="表单定义") |
|
|
public class FormDef implements java.io.Serializable { |
|
|
public class FormDef 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 tableName; |
|
|
String tableName; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="表名拥有者",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="表名拥有者",allowEmptyValue=true,example="",allowableValues="") |
|
|
String tableOwner; |
|
|
String tableOwner; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="是否已经创建库表",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="是否已经创建库表",allowEmptyValue=true,example="",allowableValues="") |
|
|
String isCreateTable; |
|
|
String isCreateTable; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="表单名称",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="表单名称",allowEmptyValue=true,example="",allowableValues="") |
|
|
String formName; |
|
|
String formName; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="创建人",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="创建人",allowEmptyValue=true,example="",allowableValues="") |
|
|
String userid; |
|
|
String userid; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="创建部门",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="创建部门",allowEmptyValue=true,example="",allowableValues="") |
|
|
String deptid; |
|
|
String deptid; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="表单类型",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="表单类型",allowEmptyValue=true,example="",allowableValues="") |
|
|
String formType; |
|
|
String formType; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="是否为模板",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="是否为模板",allowEmptyValue=true,example="",allowableValues="") |
|
|
String isTemplate; |
|
|
String isTemplate; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="业务分类",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="业务分类",allowEmptyValue=true,example="",allowableValues="") |
|
|
String bizType; |
|
|
String bizType; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="创建日期",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="创建日期",allowEmptyValue=true,example="",allowableValues="") |
|
|
Date ctime; |
|
|
Date ctime; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="机构编号",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="机构编号",allowEmptyValue=true,example="",allowableValues="") |
|
|
String branchId; |
|
|
String branchId; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="分类编号",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="分类编号",allowEmptyValue=true,example="",allowableValues="") |
|
|
String categoryId; |
|
|
String categoryId; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="标签编号列表",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="标签编号列表",allowEmptyValue=true,example="",allowableValues="") |
|
|
String tagIds; |
|
|
String tagIds; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="标签名字列表",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="标签名字列表",allowEmptyValue=true,example="",allowableValues="") |
|
|
String tagNames; |
|
|
String tagNames; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="创建人姓名",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="创建人姓名",allowEmptyValue=true,example="",allowableValues="") |
|
|
String username; |
|
|
String username; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="创建部门",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="创建部门",allowEmptyValue=true,example="",allowableValues="") |
|
|
String deptName; |
|
|
String deptName; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="表单元素分组",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="表单元素分组",allowEmptyValue=true,example="",allowableValues="") |
|
|
String groupsJson; |
|
|
String groupsJson; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="主键列表,逗号分割",allowEmptyValue=true,example="",allowableValues="") |
|
|
@ApiModelProperty(notes="主键列表,逗号分割",allowEmptyValue=true,example="",allowableValues="") |
|
|
String pks; |
|
|
String pks; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="数据存储模式0-form-data表,1-寄存主表某个字段,默认ext_infos字段,3-独立建表,4-其它文件存储",allowEmptyValue=true,example="",allowableValues="") |
|
|
|
|
|
String dataType; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty(notes="数据存储字段,当data_type=1时必填,默认ext_infos",allowEmptyValue=true,example="",allowableValues="") |
|
|
|
|
|
String dataField; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
*主键 |
|
|
*主键 |
|
|
**/ |
|
|
**/ |
|
|
|