| | |
| | | package com.iailab.module.bpm.dal.dataobject.definition; |
| | | |
| | | import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
| | | import com.baomidou.mybatisplus.annotation.KeySequence; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; |
| | | import com.iailab.framework.mybatis.core.dataobject.BaseDO; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Builder; |
| | | import lombok.Data; |
| | |
| | | * @author iailab |
| | | */ |
| | | @TableName(value = "bpm_form", autoResultMap = true) |
| | | @KeySequence("bpm_form_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库,可不写。 |
| | | @Data |
| | | @Builder |
| | | @NoArgsConstructor |
| | |
| | | /** |
| | | * 表单项的数组 |
| | | * |
| | | * 目前直接将 https://github.com/JakHuang/form-generator 生成的 JSON 串,直接保存 |
| | | * 定义:https://github.com/JakHuang/form-generator/issues/46 |
| | | */ |
| | | @TableField(typeHandler = JacksonTypeHandler.class) |
| | | private List<String> fields; |