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

import com.yuchen.saas.integration.feign.api.entity.ActRuProcessNode;
import com.yuchen.saas.integration.feign.api.entity.DataEntity;
import lombok.Data;
import org.nest.springwrap.core.secure.ContextUser;

import java.util.Date;
import java.util.List;

/**
 * @Description TODO
 * @Author 林立超
 * @Date 2022-10-18  15:20
 * @Version 1.0
 **/
@Data
public class ActRuTaskDto extends DataEntity<ActRuTaskDto> {
    private String userDetail;
    //流程id
    private String processId;
    //流程发起人
    private ContextUser user;
    //当前是第几个审批人
    private int approverNo;
    //当前审批人类型
    private int auditType;
    //任务状态
    private String state;

    private Date historyDate;

    private String taskType;

    private ActRuProcessNode actRuProcessNode;

    private String ruApprovalDataId;

    private String ruProcessNodeId;

    private String auditTypeName;

    private String search;

    private String startTime;

    private String endTime;

    //根据关键字查询出来的用户，机构id列表
    private List<ContextUser> searchList;



    public ActRuTaskDto() {
    }

    public ActRuTaskDto(String id) {
        super(id);
    }
}
