package cn.ey.biz.module.system.api.bpm.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("流程代理 DTO")
@Data
public class BpmAddAgentSaveDTO extends BpmWeaverDTO{

    @ApiModelProperty(value = "固定值add")
    private String method;

    @ApiModelProperty(value = "被代理人UID，需传入泛微人员ID")
    private String bagentuid;

    @ApiModelProperty(value = "代理人UID，需传入泛微人员ID")
    private String agentuid;

    @ApiModelProperty(value = "开始日期")
    private String beginDate;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束日期")
    private String endDate;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "是否代理创建流程  0 否  1是")
    private String isCreateAgenter;

    @ApiModelProperty(value = "是否代理 0 否  1是")
    private String isProxyDeal;

    @ApiModelProperty(value = "代理流程范围  0全部 1 选择")
    private String agentrange;

    @ApiModelProperty(value = "流程范围(泛微流程workflowId，多个，分割 )")
    private String rangetype;

    @ApiModelProperty(value = "代理已有待办事宜  0 否 1是")
    private String isPendThing;

    @ApiModelProperty(value = "是否替换 1 否 2是")
    private String  overlapMethod;

}
