package com.yuchen.saas.integration.feign.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author 林立超
 * @create 2022/10/17 14:45
 */

@Data
@TableName("pmg_bat_park_act_hi_task")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "流程主表", description = "流程主表")
public class ActHiTask extends TenantEnty {


    @ApiModelProperty(value = "流程id")
    private String processId;
    
    @ApiModelProperty(value = "任务对应的业务数据表id")
    private String ruApprovalDataId;

    @ApiModelProperty(value = "节点id")
    private String ruProcessNodeId;

    @ApiModelProperty(value = "渠道")
    private String source;

    @ApiModelProperty(value = "流程处理人id")
    private Long user;

    @ApiModelProperty(value = "流程处理人userInfoId")
    private Long userInfoId;

    @ApiModelProperty(value = "第几个审批节点")
    private int approverNo;

    @ApiModelProperty(value = "流程状态")
    private String state;


    @ApiModelProperty(value = "审批流程名称")
    private Date historyTime;

    @ApiModelProperty(value = "审批类型名称")
    private String auditTypeName;
    @ApiModelProperty(value = "审批类型，保留字段（会签，或签）")
    private int auditType;
    @ApiModelProperty(value = "任务类型（0，是提交申请 1是审批环节）")
    private String taskType;
    @ApiModelProperty(value = "用户明细")
    private String userDetail;

    /**
     * c端申请信息
     */
    @ApiModelProperty(value = "用户昵称")
    private String userName;

    @ApiModelProperty(value = "微信openid or 支付宝账号")
    private String payUserId;

    @ApiModelProperty(value = "流程标识简写")
    private String actType;

    @ApiModelProperty(value = "园区id")
    private String parkId;

}
