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

import com.github.microservice.types.payment.PaymentChannelType;
import com.github.microservice.types.payment.PaymentType;
import com.zhongshu.card.client.model.base.SuperParam;
import com.zhongshu.card.client.type.DataState;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 项目的 支付渠道配置模型
 *
 * @author TRX
 * @date 2024/9/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayChannelConfigParam extends SuperParam {

    @Schema(description = "logo")
    private String logo;

    @NotEmpty
    @Schema(description = "支付产品名称")
    private String name;

    @Schema(description = "支付渠道类型")
    private PaymentType paymentType;

    @Schema(description = "支付类型", hidden = true)
    private PaymentChannelType paymentChannelType;

    @Schema(description = "汇率说明")
    private String rateMark;

    @Schema(description = "数据状态")
    private DataState state = DataState.Enable;

}
