package com.starry.admin.modules.order.module.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import lombok.Data;

/**
 * 续单申请审批状态修改对象
 *
 * @author admin
 * @since 2024/5/10 14:59
 **/
@Data
@ApiModel(value = "审批状态修改参数", description = "续单申请审批状态修改的请求参数")
public class PlayOrderReviewStateEditVo {

    @NotBlank(message = "ID不能为空")
    @ApiModelProperty(value = "续单ID", required = true, example = "1", notes = "需要审批的续单ID")
    private String id;

    /**
     * 审核状态（0:未审核，1:已通过，2:不通过）
     */
    @NotBlank(message = "审核状态不能为空")
    @Pattern(regexp = "[12]", message = "审核状态必须为1或2")
    @ApiModelProperty(value = "审核状态", required = true, example = "1", notes = "1:已通过，2:不通过")
    private String reviewState;

    @ApiModelProperty(value = "审核备注", example = "审核通过，可以继续服务", notes = "审核意见或备注信息")
    private String remark;
}
