All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opcooc.captcha.metadata.CaptchaVO Maven / Gradle / Ivy

/*
 * Copyright © 2020-2021 organization opcooc ([email protected])
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.opcooc.captcha.metadata;


import java.util.Map;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author opcooc
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CaptchaVO {

    /**
     * 返回的token
     *
     * @param token 参数
     * @return 值
     */
    private String token;

    /**
     * 验证码信息
     *
     * @param data 参数
     * @return 值
     */
    private String data;

    /**
     * 后台二次校验参数
     *
     * @param validate 参数
     * @return 值
     */
    private String validate;

    /**
     * 校验类型
     *
     * @param type 参数
     * @return 值
     */
    private String type;

    /**
     * 前段背景图片宽度
     *
     * @param width 参数
     * @return 值
     */
    private Integer width;

    /**
     * 额外信息
     *
     * @param extra 参数
     * @return 值
     */
    private Map extra;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy