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

import com.starry.common.enums.ClerkReviewState;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author admin 动态审核
 */
@Data
@ApiModel(value = "店员资料审核状态修改参数", description = "修改店员资料审核状态的请求参数")
public class PlayClerkDataReviewStateEditVo {

    @NotBlank(message = "ID不能为空")
    @ApiModelProperty(value = "审核记录ID", required = true, example = "1", notes = "店员资料审核记录的ID")
    private String id;

    /**
     * 审核状态（0：未审核:1：审核通过，2：审核不通过）
     */
    @NotNull(message = "审核状态不能为空")
    @ApiModelProperty(
            value = "审核状态",
            required = true,
            example = "1",
            allowableValues = "1,2",
            notes = "1：审核通过，2：审核不通过")
    private ClerkReviewState reviewState;

    /**
     * 审核内容
     */
    @ApiModelProperty(value = "审核内容", example = "资料完整，通过审核", notes = "审核的备注内容或拒绝原因")
    private String reviewCon;

    /**
     * 审核时间
     */
    @ApiModelProperty(value = "审核时间", hidden = true, notes = "系统自动生成，无需传入")
    private LocalDateTime reviewTime = LocalDateTime.now();
}
