|
@ -1,6 +1,8 @@ |
|
|
package com.tduck.cloud.project.entity; |
|
|
package com.tduck.cloud.project.entity; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType; |
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
import com.baomidou.mybatisplus.annotation.TableField; |
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId; |
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
import com.tduck.cloud.common.entity.BaseEntity; |
|
|
import com.tduck.cloud.common.entity.BaseEntity; |
|
|
import com.tduck.cloud.common.mybatis.handler.JacksonTypeHandler; |
|
|
import com.tduck.cloud.common.mybatis.handler.JacksonTypeHandler; |
|
@ -23,7 +25,8 @@ import java.util.Map; |
|
|
@Data |
|
|
@Data |
|
|
@TableName(value = "pr_project_template_item", autoResultMap = true) |
|
|
@TableName(value = "pr_project_template_item", autoResultMap = true) |
|
|
public class ProjectTemplateItemEntity extends BaseEntity<ProjectTemplateItemEntity> { |
|
|
public class ProjectTemplateItemEntity extends BaseEntity<ProjectTemplateItemEntity> { |
|
|
private Long id; |
|
|
@TableId(type = IdType.ASSIGN_ID) |
|
|
|
|
|
private String id; |
|
|
/** |
|
|
/** |
|
|
* 项目Id |
|
|
* 项目Id |
|
|
*/ |
|
|
*/ |
|
@ -32,7 +35,7 @@ public class ProjectTemplateItemEntity extends BaseEntity<ProjectTemplateItemEnt |
|
|
/** |
|
|
/** |
|
|
* 表单项Id |
|
|
* 表单项Id |
|
|
*/ |
|
|
*/ |
|
|
private Long formItemId; |
|
|
private String formItemId; |
|
|
/** |
|
|
/** |
|
|
* 表单项类型 |
|
|
* 表单项类型 |
|
|
*/ |
|
|
*/ |
|
@ -89,4 +92,4 @@ public class ProjectTemplateItemEntity extends BaseEntity<ProjectTemplateItemEnt |
|
|
@TableField(typeHandler = JacksonTypeHandler.class) |
|
|
@TableField(typeHandler = JacksonTypeHandler.class) |
|
|
private List<Map<String, Object>> regList; |
|
|
private List<Map<String, Object>> regList; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|