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("接收异构系统流程接口 ResponseDTO")
@Data
public class ReceiveRequestInfoByJsonDTO {

    @ApiModelProperty(value = "异构系统标识")
    private String  syscode;

    @ApiModelProperty(value = "流程实例id")
    private String  flowid;

    @ApiModelProperty(value = "标题")
    private String  requestname;

    @ApiModelProperty(value = "流程类型名称")
    private String  workflowname;

    @ApiModelProperty(value = "步骤名称（节点名称）")
    private String  nodename;

    @ApiModelProperty(value = "PC地址")
    private String  pcurl;

    @ApiModelProperty(value = "APP地址")
    private String  appurl;

    @ApiModelProperty(value = "流程处理状态 0：待办 2：已办 4：办结 8：抄送（待阅）")
    private String  isremark;

    @ApiModelProperty(value = "流程查看状态")
    private String  viewtype;     //0：未读 （注：isremark = 0 且 viewtype = 0 会给OA消息中心推送消息，对接钉钉、企业微信）1：已读;

    @ApiModelProperty(value = "创建人（原值）")
    private String  creator;

    @ApiModelProperty(value = "创建日期时间")
    private String  createdatetime;

    @ApiModelProperty(value = "接收人（原值）")
    private String  receiver;

    @ApiModelProperty(value = "接收日期时间")
    private String  receivedatetime;

    @ApiModelProperty(value = "时间戳字段")
    private String  receivets;       //客户端使用线程调用接口的时候，根据此字段判断是否需要更新数据，防止后发的请求数据被之前的覆盖例如"1602817491990"(毫秒级时间戳)
}
