package com.zhongshu.card.client.model.paySetting.paySetting;

import com.github.microservice.types.payment.PayFieldType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 支付参数字段
 *
 * @author TRX
 * @date 2024/10/22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PayShowField {
    @Schema(description = "字段名称，如：名称，appId")
    private String name;

    @Schema(description = "字段类型，如：Str, File")
    private PayFieldType type;

    @Schema(description = "可显示的条件")
    private List<Object> showAccount = new ArrayList<>();
}
