package org.wfc.user.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import org.wfc.common.mybatis.domain.BaseData;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户平台-支付表
 * </p>
 *
 * @author sys
 * @since 2025-01-09
 */
@Getter
@Setter
@TableName("u_payment")
@Schema(name = "UPayment", description = "用户平台-支付表")
public class UPayment extends BaseData {

    private static final long serialVersionUID = 1L;

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

    @Schema(description = "类型（0支付宝 1微信 2信用卡）")
    private Integer type;

    @Schema(description = "应用编号")
    private String appId;

    @Schema(description = "支付网关")
    private String serverUrl;

    @Schema(description = "外网访问项目的域名")
    private String domain;

    @Schema(description = "应用私钥")
    private String privateKey;

    @Schema(description = "应用公钥")
    private String publicKey;

    @Schema(description = "应用公钥证书")
    private String appCertPath;

    @Schema(description = "公钥证书")
    private String certPath;

    @Schema(description = "根证书")
    private String rootCertPath;

    @Schema(description = "是否启用")
    private Boolean enable;
}
