mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 13:39:01 +08:00
feat(flow): 支持业务表单,提供业务表单示例
This commit is contained in:
1 parent
cd1854e498
commit
9c237c9921
4 files changed
+73
-7
No files matched your search
+117
@@ -0,0 +1,117 @@
|
||||
package com.pig4cloud.pigx.flow.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.pig4cloud.pigx.common.core.util.TenantTable;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 请假表单示例实体类
|
||||
*
|
||||
*/
|
||||
@Data
|
||||
@TenantTable
|
||||
@TableName("bpm_oa_leave")
|
||||
@Schema(description = "请假表单")
|
||||
public class BpmOaLeaveEntity {
|
||||
|
||||
/**
|
||||
* 请假表单主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(description = "请假表单主键")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 申请人的用户编号
|
||||
*/
|
||||
@Schema(description = "申请人的用户编号")
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* 请假类型
|
||||
*/
|
||||
@Schema(description = "请假类型")
|
||||
private Integer leaveType;
|
||||
|
||||
/**
|
||||
* 请假原因
|
||||
*/
|
||||
@Schema(description = "请假原因")
|
||||
private String leaveReason;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
@Schema(description = "开始时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
@Schema(description = "结束时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
/**
|
||||
* 请假天数
|
||||
*/
|
||||
@Schema(description = "请假天数")
|
||||
private Integer leaveDay;
|
||||
|
||||
/**
|
||||
* 请假结果
|
||||
*/
|
||||
@Schema(description = "请假结果")
|
||||
private Integer leaveStatus;
|
||||
|
||||
/**
|
||||
* 流程实例的编号
|
||||
*/
|
||||
@Schema(description = "流程实例的编号")
|
||||
private String processInstanceId;
|
||||
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建者")
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description = "更新者")
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description = "更新时间")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@TableLogic
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "是否删除")
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 租户编号
|
||||
*/
|
||||
@Schema(description = "租户编号")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user