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

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

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

@Data
@ApiModel(value = "审批流程数据", description = "审批流程数据")
public class ActApprovalReqDTO {

    private Long id;

    @ApiModelProperty(value = "审批流程名称")
    @NotBlank(message = "请输入流程名称")
    @Size(min = 2, max = 200, message = "请输入2~200个字数的流程名称")
    private String name;

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

    @ApiModelProperty(value = "园区id")
//    @NotBlank(message = "请传入园区id")
    private String parkId;

    @ApiModelProperty(value = "流程类型（1： 业务申请， 2：退费申请）")
    private Integer processType;

    @ApiModelProperty(value = "所属业务（1：智慧业务，2：全部业务，9：其他业务）")
    private Integer belongBusiness;

    @ApiModelProperty(value = "业务范围（1：月卡申请，2错时卡申请，3所有费用类型）")
    private Integer businessScope;

    @ApiModelProperty(value = "流程状态（1：开启。2禁用）")
    private Integer openState;

    @ApiModelProperty(value = "机构id")
    private String orgId;

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

    @ApiModelProperty(value = "流程描述")
    private String describe_;

    @ApiModelProperty("租户ID")
    private String tenantId;

}
