package com.njcn.process.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 
 * Description:
 * Date: 2024/4/15  16:24【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "r_flow_process")
public class RFlowProcessPO extends BaseEntity {
    /**
     * 申请流程id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;


    /**
     * 申请表单类型
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 单位ID
     */
    @TableField(value = "org_no")
    private String orgNo;

    /**
     * 申请单详情
     */
    @TableField(value = "application_form_text")
    private String applicationFormText;

    /**
     * 文件路径
     */
    @TableField(value = "file_path")
    private String filePath;
    @TableField(value = "file_name")
    private String fileName;

    /**
     * 上传时间
     */
    @TableField(value = "upload_time")
    private LocalDate uploadTime;

    /**
     * 审核名称
     */
    @TableField(value = "checker_name")
    private String checkerName;

    /**
     * 审核人
     */
    @TableField(value = "checker")
    private String checker;

    /**
     * 审核备注
     */
    @TableField(value = "description")
    private String description;

    /**
     * 状态（0-不通过，1-通过）
     */
    @TableField(value = "check_status")
    private Integer checkStatus;

    /**
     * 流程状态（1-新建，2-待审核，3-驳回，4-已审核，5-已归档）
     */
    @TableField(value = "process_status")
    private Integer processStatus;

    /**
     * 申请流程类型
     */
    @TableField(value = "apply_type")
    private Integer applyType;



}