package com.cool.store.vo.tp;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 申请单批量审批结果VO
 * </p>
 *
 * @author wangff
 * @since 2026/1/20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TpBatchAuditVO {
    @ApiModelProperty("id")
    private Long applyId;

    @ApiModelProperty("申请单号")
    private String applyNo;

    @ApiModelProperty("审批结果，1审批成功 2审批失败")
    private Integer status;

    @ApiModelProperty("失败原因")
    private String failReason;

    public TpBatchAuditVO(Long applyId, Integer status, String failReason) {
        this.applyId = applyId;
        this.status = status;
        this.failReason = failReason;
    }
}
